Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c412 flow->l2_key.inner_vlan_tci = in bnxt_tc_parse_flow()
420 flow->l2_key.num_vlans = 1; in bnxt_tc_parse_flow()
690 if (flow->l2_key.num_vlans > 0) { in bnxt_hwrm_cfa_flow_alloc()
969 struct bnxt_tc_l2_key *l2_key) in bnxt_tc_get_l2_node() argument
982 l2_node->key = *l2_key; in bnxt_tc_get_l2_node()
1011 &flow->l2_key); in bnxt_tc_get_ref_flow_handle()
1053 if (bits_set(&flow->l2_key.smac, sizeof(flow->l2_key.smac)) && in bnxt_tc_can_offload()
1058 if (bits_set(&flow->l2_key.dmac, sizeof(flow->l2_key.dmac)) && in bnxt_tc_can_offload()
1068 flow->l2_key.inner_vlan_tci)) { in bnxt_tc_can_offload()
1151 struct bnxt_tc_l2_key *l2_key, in bnxt_tc_get_ref_decap_handle() argument
[all …]
H A Dbnxt_tc.h124 struct bnxt_tc_l2_key l2_key; member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c218 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer()
390 struct ice_tc_l2_hdr *l2_key, *l2_mask; in ice_tc_fill_rules() local
392 l2_key = &headers->l2_key; in ice_tc_fill_rules()
398 l2_key->dst_mac); in ice_tc_fill_rules()
404 l2_key->src_mac); in ice_tc_fill_rules()
532 if (headers->l2_key.n_proto == htons(ETH_P_IP) && in ice_tc_fill_rules()
551 if (headers->l2_key.n_proto == htons(ETH_P_IPV6) && in ice_tc_fill_rules()
1489 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower()
1500 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower()
1508 ether_addr_copy(headers->l2_key.src_mac, in ice_parse_cls_flower()
[all …]
H A Dice_tc_lib.h117 struct ice_tc_l2_hdr l2_key; member