Lines Matching refs:l4_key
392 flow->l4_key.ip_proto = match.key->ip_proto; in bnxt_tc_parse_flow()
448 flow->l4_key.ports.dport = match.key->dst; in bnxt_tc_parse_flow()
450 flow->l4_key.ports.sport = match.key->src; in bnxt_tc_parse_flow()
459 flow->l4_key.icmp.type = match.key->type; in bnxt_tc_parse_flow()
460 flow->l4_key.icmp.code = match.key->code; in bnxt_tc_parse_flow()
683 req->ip_proto = flow->l4_key.ip_proto; in bnxt_hwrm_cfa_flow_alloc()
728 req->l4_src_port = flow->l4_key.ports.sport; in bnxt_hwrm_cfa_flow_alloc()
730 req->l4_dst_port = flow->l4_key.ports.dport; in bnxt_hwrm_cfa_flow_alloc()
734 req->l4_src_port = htons(flow->l4_key.icmp.type); in bnxt_hwrm_cfa_flow_alloc()
736 req->l4_dst_port = htons(flow->l4_key.icmp.code); in bnxt_hwrm_cfa_flow_alloc()
1045 (flow->l4_key.ip_proto != IPPROTO_TCP && in bnxt_tc_can_offload()
1046 flow->l4_key.ip_proto != IPPROTO_UDP)) { in bnxt_tc_can_offload()
1048 flow->l4_key.ip_proto); in bnxt_tc_can_offload()