Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c216 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()
[all …]
Dbnxt_tc.h102 struct bnxt_tc_l2_key l2_mask; member