Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c192 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow()
207 ether_addr_copy(flow->l2_mask.dmac, match.mask->dst); in bnxt_tc_parse_flow()
209 ether_addr_copy(flow->l2_mask.smac, match.mask->src); in bnxt_tc_parse_flow()
219 flow->l2_mask.inner_vlan_tci = in bnxt_tc_parse_flow()
223 flow->l2_mask.inner_vlan_tpid = htons(0xffff); in bnxt_tc_parse_flow()
780 !is_exactmatch(flow->l2_mask.smac, sizeof(flow->l2_mask.smac))) { in bnxt_tc_can_offload()
785 !is_exactmatch(&flow->l2_mask.dmac, sizeof(flow->l2_mask.dmac))) { in bnxt_tc_can_offload()
793 !is_vlan_tci_allowed(flow->l2_mask.inner_vlan_tci, in bnxt_tc_can_offload()
800 !is_exactmatch(&flow->l2_mask.inner_vlan_tpid, in bnxt_tc_can_offload()
801 sizeof(flow->l2_mask.inner_vlan_tpid))) { in bnxt_tc_can_offload()
[all …]
Dbnxt_tc.h105 struct bnxt_tc_l2_key l2_mask; member