Lines Matching refs:l2_mask
216 flow->l2_mask.ether_type = mask->n_proto; in bnxt_tc_parse_flow()
233 ether_addr_copy(flow->l2_mask.dmac, mask->dst); in bnxt_tc_parse_flow()
235 ether_addr_copy(flow->l2_mask.smac, mask->src); in bnxt_tc_parse_flow()
246 flow->l2_mask.inner_vlan_tci = in bnxt_tc_parse_flow()
249 flow->l2_mask.inner_vlan_tpid = htons(0xffff); in bnxt_tc_parse_flow()
823 !is_exactmatch(flow->l2_mask.smac, sizeof(flow->l2_mask.smac))) { in bnxt_tc_can_offload()
828 !is_exactmatch(&flow->l2_mask.dmac, sizeof(flow->l2_mask.dmac))) { in bnxt_tc_can_offload()
836 !is_vlan_tci_allowed(flow->l2_mask.inner_vlan_tci, in bnxt_tc_can_offload()
843 !is_exactmatch(&flow->l2_mask.inner_vlan_tpid, in bnxt_tc_can_offload()
844 sizeof(flow->l2_mask.inner_vlan_tpid))) { in bnxt_tc_can_offload()
850 if (!is_exactmatch(&flow->l2_mask.ether_type, in bnxt_tc_can_offload()
851 sizeof(flow->l2_mask.ether_type))) { in bnxt_tc_can_offload()