Searched refs:vlan_ethertype (Results 1 – 3 of 3) sorted by relevance
2281 u16 vlan_ethertype = 0; in iavf_set_vlan_offload_features() local 2291 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()
3368 enum virtchnl_vlan_support vlan_ethertype = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_validate_vlan_tpid() local 3372 vlan_ethertype = VIRTCHNL_VLAN_ETHERTYPE_8100; in ice_vc_validate_vlan_tpid() 3375 vlan_ethertype = VIRTCHNL_VLAN_ETHERTYPE_88A8; in ice_vc_validate_vlan_tpid() 3378 vlan_ethertype = VIRTCHNL_VLAN_ETHERTYPE_9100; in ice_vc_validate_vlan_tpid() 3382 if (!(filtering_caps & vlan_ethertype)) in ice_vc_validate_vlan_tpid()
6353 * @vlan_ethertype: VLAN ethertype (802.1Q or 802.1ad) in network byte order6359 ice_set_rx_rings_vlan_proto(struct ice_vsi *vsi, __be16 vlan_ethertype) in ice_set_rx_rings_vlan_proto() argument 6364 vsi->rx_rings[i]->pkt_ctx.vlan_proto = vlan_ethertype; in ice_set_rx_rings_vlan_proto() 6372 * First, determine the vlan_ethertype based on the VLAN offload bits in6382 u16 vlan_ethertype = 0; in ice_set_vlan_offload_features() local 6387 vlan_ethertype = ETH_P_8021AD; in ice_set_vlan_offload_features() 6389 vlan_ethertype = ETH_P_8021Q; in ice_set_vlan_offload_features() 6397 strip_err = vlan_ops->ena_stripping(vsi, vlan_ethertype); in ice_set_vlan_offload_features() 6402 insert_err = vlan_ops->ena_insertion(vsi, vlan_ethertype); in ice_set_vlan_offload_features() 6410 htons(vlan_ethertype) in ice_set_vlan_offload_features() [all...]