Home
last modified time | relevance | path

Searched refs:l4_mask (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c397 flow->l4_mask.ip_proto = match.mask->ip_proto; in bnxt_tc_parse_flow()
453 flow->l4_mask.ports.dport = match.mask->dst; in bnxt_tc_parse_flow()
455 flow->l4_mask.ports.sport = match.mask->src; in bnxt_tc_parse_flow()
465 flow->l4_mask.icmp.type = match.mask->type; in bnxt_tc_parse_flow()
466 flow->l4_mask.icmp.code = match.mask->code; in bnxt_tc_parse_flow()
705 is_wildcard(&flow->l4_mask, sizeof(flow->l4_mask))) { in bnxt_hwrm_cfa_flow_alloc()
733 req->l4_src_port_mask = flow->l4_mask.ports.sport; in bnxt_hwrm_cfa_flow_alloc()
735 req->l4_dst_port_mask = flow->l4_mask.ports.dport; in bnxt_hwrm_cfa_flow_alloc()
739 req->l4_src_port_mask = htons(flow->l4_mask.icmp.type); in bnxt_hwrm_cfa_flow_alloc()
741 req->l4_dst_port_mask = htons(flow->l4_mask.icmp.code); in bnxt_hwrm_cfa_flow_alloc()
H A Dbnxt_tc.h129 struct bnxt_tc_l4_key l4_mask; member