Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c191 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow()
206 ether_addr_copy(flow->l2_key.dmac, match.key->dst); in bnxt_tc_parse_flow()
208 ether_addr_copy(flow->l2_key.smac, match.key->src); in bnxt_tc_parse_flow()
216 flow->l2_key.inner_vlan_tci = in bnxt_tc_parse_flow()
222 flow->l2_key.inner_vlan_tpid = htons(ETH_P_8021Q); in bnxt_tc_parse_flow()
224 flow->l2_key.num_vlans = 1; in bnxt_tc_parse_flow()
411 req.ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc()
415 memcpy(req.dmac, flow->l2_key.dmac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()
416 memcpy(req.smac, flow->l2_key.smac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()
419 if (flow->l2_key.num_vlans > 0) { in bnxt_hwrm_cfa_flow_alloc()
[all …]
Dbnxt_tc.h104 struct bnxt_tc_l2_key l2_key; member