Searched refs:l2_key (Results 1 – 2 of 2) sorted by relevance
386 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow()401 ether_addr_copy(flow->l2_key.dmac, match.key->dst); in bnxt_tc_parse_flow()403 ether_addr_copy(flow->l2_key.smac, match.key->src); in bnxt_tc_parse_flow()411 flow->l2_key.inner_vlan_tci = in bnxt_tc_parse_flow()417 flow->l2_key.inner_vlan_tpid = htons(ETH_P_8021Q); in bnxt_tc_parse_flow()419 flow->l2_key.num_vlans = 1; in bnxt_tc_parse_flow()677 req.ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc()681 memcpy(req.dmac, flow->l2_key.dmac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()682 memcpy(req.smac, flow->l2_key.smac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()685 if (flow->l2_key.num_vlans > 0) { in bnxt_hwrm_cfa_flow_alloc()[all …]
124 struct bnxt_tc_l2_key l2_key; member