Lines Matching refs:tpid

761 				vlan->tpid = f->vlan.tpid;
908 vlan->tpid = f->vlan.tpid;
1207 * @tpid: VLAN TPID (i.e. 0x8100, 0x88a8, etc.)
1209 static u32 iavf_tpid_to_vc_ethertype(u16 tpid)
1211 switch (tpid) {
1225 * @tpid: VLAN TPID (i.e. 0x8100, 0x88a8, etc.)
1230 struct virtchnl_vlan_setting *msg, u16 tpid,
1234 u16 vc_ethertype = iavf_tpid_to_vc_ethertype(tpid);
1263 offload_op, tpid);
1273 * @tpid: VLAN TPID
1277 iavf_clear_offload_v2_aq_required(struct iavf_adapter *adapter, u16 tpid,
1282 if (tpid == ETH_P_8021Q)
1285 else if (tpid == ETH_P_8021AD)
1290 if (tpid == ETH_P_8021Q)
1293 else if (tpid == ETH_P_8021AD)
1298 if (tpid == ETH_P_8021Q)
1301 else if (tpid == ETH_P_8021AD)
1306 if (tpid == ETH_P_8021Q)
1309 else if (tpid == ETH_P_8021AD)
1322 * @tpid: VLAN TPID used for the command (i.e. 0x8100 or 0x88a8)
1326 iavf_send_vlan_offload_v2(struct iavf_adapter *adapter, u16 tpid,
1348 iavf_clear_offload_v2_aq_required(adapter, tpid, offload_op);
1351 if (!iavf_set_vc_offload_ethertype(adapter, msg, tpid, offload_op))
1362 * @tpid: VLAN TPID used to enable VLAN stripping
1364 void iavf_enable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid)
1366 iavf_send_vlan_offload_v2(adapter, tpid,
1373 * @tpid: VLAN TPID used to disable VLAN stripping
1375 void iavf_disable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid)
1377 iavf_send_vlan_offload_v2(adapter, tpid,
1384 * @tpid: VLAN TPID used to enable VLAN insertion
1386 void iavf_enable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid)
1388 iavf_send_vlan_offload_v2(adapter, tpid,
1395 * @tpid: VLAN TPID used to disable VLAN insertion
1397 void iavf_disable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid)
1399 iavf_send_vlan_offload_v2(adapter, tpid,