Lines Matching refs:tpid
646 if (f->vlan.tpid == ETH_P_8021Q) in iavf_vlan_add_reject()
778 vlan->tpid = f->vlan.tpid; in iavf_add_vlans()
916 vlan->tpid = f->vlan.tpid; in iavf_del_vlans()
1165 static u32 iavf_tpid_to_vc_ethertype(u16 tpid) in iavf_tpid_to_vc_ethertype() argument
1167 switch (tpid) { in iavf_tpid_to_vc_ethertype()
1186 struct virtchnl_vlan_setting *msg, u16 tpid, in iavf_set_vc_offload_ethertype() argument
1190 u16 vc_ethertype = iavf_tpid_to_vc_ethertype(tpid); in iavf_set_vc_offload_ethertype()
1219 offload_op, tpid); in iavf_set_vc_offload_ethertype()
1233 iavf_clear_offload_v2_aq_required(struct iavf_adapter *adapter, u16 tpid, in iavf_clear_offload_v2_aq_required() argument
1238 if (tpid == ETH_P_8021Q) in iavf_clear_offload_v2_aq_required()
1241 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
1246 if (tpid == ETH_P_8021Q) in iavf_clear_offload_v2_aq_required()
1249 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
1254 if (tpid == ETH_P_8021Q) in iavf_clear_offload_v2_aq_required()
1257 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
1262 if (tpid == ETH_P_8021Q) in iavf_clear_offload_v2_aq_required()
1265 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
1282 iavf_send_vlan_offload_v2(struct iavf_adapter *adapter, u16 tpid, in iavf_send_vlan_offload_v2() argument
1304 iavf_clear_offload_v2_aq_required(adapter, tpid, offload_op); in iavf_send_vlan_offload_v2()
1307 if (!iavf_set_vc_offload_ethertype(adapter, msg, tpid, offload_op)) in iavf_send_vlan_offload_v2()
1320 void iavf_enable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid) in iavf_enable_vlan_stripping_v2() argument
1322 iavf_send_vlan_offload_v2(adapter, tpid, in iavf_enable_vlan_stripping_v2()
1331 void iavf_disable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid) in iavf_disable_vlan_stripping_v2() argument
1333 iavf_send_vlan_offload_v2(adapter, tpid, in iavf_disable_vlan_stripping_v2()
1342 void iavf_enable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid) in iavf_enable_vlan_insertion_v2() argument
1344 iavf_send_vlan_offload_v2(adapter, tpid, in iavf_enable_vlan_insertion_v2()
1353 void iavf_disable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid) in iavf_disable_vlan_insertion_v2() argument
1355 iavf_send_vlan_offload_v2(adapter, tpid, in iavf_disable_vlan_insertion_v2()
2443 if (f->vlan.tpid == ETH_P_8021Q) in iavf_virtchnl_completion()