Searched refs:vlan_ethertype (Results 1 – 2 of 2) sorted by relevance
2281 u16 vlan_ethertype = 0; in iavf_set_vlan_offload_features() local2291 vlan_ethertype = ETH_P_8021AD; in iavf_set_vlan_offload_features()2293 vlan_ethertype = ETH_P_8021Q; in iavf_set_vlan_offload_features()2295 vlan_ethertype = ETH_P_8021AD; in iavf_set_vlan_offload_features()2297 vlan_ethertype = ETH_P_8021Q; in iavf_set_vlan_offload_features()2299 vlan_ethertype = ETH_P_8021Q; in iavf_set_vlan_offload_features()2317 switch (vlan_ethertype) { in iavf_set_vlan_offload_features()
6331 ice_set_rx_rings_vlan_proto(struct ice_vsi *vsi, __be16 vlan_ethertype) in ice_set_rx_rings_vlan_proto() argument6336 vsi->rx_rings[i]->pkt_ctx.vlan_proto = vlan_ethertype; in ice_set_rx_rings_vlan_proto()6354 u16 vlan_ethertype = 0; in ice_set_vlan_offload_features() local6359 vlan_ethertype = ETH_P_8021AD; in ice_set_vlan_offload_features()6361 vlan_ethertype = ETH_P_8021Q; in ice_set_vlan_offload_features()6369 strip_err = vlan_ops->ena_stripping(vsi, vlan_ethertype); in ice_set_vlan_offload_features()6374 insert_err = vlan_ops->ena_insertion(vsi, vlan_ethertype); in ice_set_vlan_offload_features()6382 htons(vlan_ethertype) : 0); in ice_set_vlan_offload_features()