Lines Matching refs:l4_key
196 flow->l4_key.ip_proto = match.key->ip_proto; in bnxt_tc_parse_flow()
252 flow->l4_key.ports.dport = match.key->dst; in bnxt_tc_parse_flow()
254 flow->l4_key.ports.sport = match.key->src; in bnxt_tc_parse_flow()
263 flow->l4_key.icmp.type = match.key->type; in bnxt_tc_parse_flow()
264 flow->l4_key.icmp.code = match.key->code; in bnxt_tc_parse_flow()
412 req.ip_proto = flow->l4_key.ip_proto; in bnxt_hwrm_cfa_flow_alloc()
457 req.l4_src_port = flow->l4_key.ports.sport; in bnxt_hwrm_cfa_flow_alloc()
459 req.l4_dst_port = flow->l4_key.ports.dport; in bnxt_hwrm_cfa_flow_alloc()
463 req.l4_src_port = htons(flow->l4_key.icmp.type); in bnxt_hwrm_cfa_flow_alloc()
465 req.l4_dst_port = htons(flow->l4_key.icmp.code); in bnxt_hwrm_cfa_flow_alloc()
771 (flow->l4_key.ip_proto != IPPROTO_TCP && in bnxt_tc_can_offload()
772 flow->l4_key.ip_proto != IPPROTO_UDP)) { in bnxt_tc_can_offload()
774 flow->l4_key.ip_proto); in bnxt_tc_can_offload()