| /linux-6.15/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_lib.c | 1101 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in wx_tx_ctxtdesc() 1226 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in wx_tso() local 1332 vlan_macip_lens = skb_inner_network_header_len(skb) >> 1; in wx_tso() 1334 vlan_macip_lens = skb_network_header_len(skb) >> 1; in wx_tso() 1338 vlan_macip_lens |= first->tx_flags & WX_TX_FLAGS_VLAN_MASK; in wx_tso() 1346 wx_tx_ctxtdesc(tx_ring, vlan_macip_lens, tunhdr_eiplen_tunlen, in wx_tso() 1355 u32 tunhdr_eiplen_tunlen = 0, vlan_macip_lens = 0; in wx_tx_csum() local 1366 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum() 1385 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum() 1433 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum() [all …]
|
| H A D | wx_type.h | 914 __le32 vlan_macip_lens; member
|
| /linux-6.15/drivers/net/ethernet/intel/igc/ |
| H A D | igc_base.h | 29 __le32 vlan_macip_lens; member
|
| H A D | igc_main.c | 1142 u32 vlan_macip_lens, u32 type_tucmd, in igc_tx_ctxtdesc() argument 1163 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igc_tx_ctxtdesc() 1173 u32 vlan_macip_lens = 0; in igc_tx_csum() local 1204 vlan_macip_lens = skb_checksum_start_offset(skb) - in igc_tx_csum() 1208 vlan_macip_lens |= first->tx_flags & IGC_TX_FLAGS_VLAN_MASK; in igc_tx_csum() 1211 vlan_macip_lens, type_tucmd, 0); in igc_tx_csum() 1451 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igc_tso() local 1531 vlan_macip_lens = l4.hdr - ip.hdr; in igc_tso() 1532 vlan_macip_lens |= (ip.hdr - skb->data) << IGC_ADVTXD_MACLEN_SHIFT; in igc_tso() 1533 vlan_macip_lens |= first->tx_flags & IGC_TX_FLAGS_VLAN_MASK; in igc_tso() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_fcoe.c | 494 u32 vlan_macip_lens; in ixgbe_fso() local 585 vlan_macip_lens = skb_transport_offset(skb) + in ixgbe_fso() 587 vlan_macip_lens |= (skb_transport_offset(skb) - 4) in ixgbe_fso() 589 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_fso() 592 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fcoe_sof_eof, in ixgbe_fso()
|
| H A D | ixgbe_lib.c | 1284 void ixgbe_tx_ctxtdesc(struct ixgbe_ring *tx_ring, u32 vlan_macip_lens, in ixgbe_tx_ctxtdesc() argument 1298 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbe_tx_ctxtdesc()
|
| H A D | ixgbe_main.c | 8447 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbe_tso() local 8538 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbe_tso() 8539 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tso() 8540 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tso() 8542 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbe_tso() 8553 u32 vlan_macip_lens = 0; in ixgbe_tx_csum() local 8585 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbe_tx_csum() 8589 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tx_csum() 8590 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tx_csum() 8595 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, 0); in ixgbe_tx_csum()
|
| H A D | ixgbe_type.h | 2908 __le32 vlan_macip_lens; member
|
| /linux-6.15/drivers/net/ethernet/intel/igbvf/ |
| H A D | netdev.c | 1991 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igbvf_tx_ctxtdesc() 2003 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igbvf_tso() local 2065 vlan_macip_lens = l4.hdr - ip.hdr; in igbvf_tso() 2066 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igbvf_tso() 2067 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tso() 2069 igbvf_tx_ctxtdesc(tx_ring, vlan_macip_lens, type_tucmd, mss_l4len_idx); in igbvf_tso() 2077 u32 vlan_macip_lens = 0; in igbvf_tx_csum() local 2105 vlan_macip_lens = skb_checksum_start_offset(skb) - in igbvf_tx_csum() 2108 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igbvf_tx_csum() 2109 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tx_csum() [all …]
|
| H A D | vf.h | 97 __le32 vlan_macip_lens; member
|
| /linux-6.15/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_82575.h | 123 __le32 vlan_macip_lens; member
|
| H A D | igb_main.c | 5966 u32 vlan_macip_lens, u32 type_tucmd, in igb_tx_ctxtdesc() argument 5985 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igb_tx_ctxtdesc() 6005 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igb_tso() local 6086 vlan_macip_lens = l4.hdr - ip.hdr; in igb_tso() 6087 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso() 6088 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tso() 6090 igb_tx_ctxtdesc(tx_ring, first, vlan_macip_lens, in igb_tso() 6099 u32 vlan_macip_lens = 0; in igb_tx_csum() local 6130 vlan_macip_lens = skb_checksum_start_offset(skb) - in igb_tx_csum() 6134 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tx_csum() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 1009 context_desc->vlan_macip_lens = in ixgbevf_xmit_xdp_ring() 3752 u32 vlan_macip_lens, u32 fceof_saidx, in ixgbevf_tx_ctxtdesc() argument 3766 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbevf_tx_ctxtdesc() 3777 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbevf_tso() local 3859 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbevf_tso() 3860 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tso() 3861 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso() 3874 u32 vlan_macip_lens = 0; in ixgbevf_tx_csum() local 3904 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbevf_tx_csum() 3909 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum() [all …]
|
| H A D | defines.h | 239 __le32 vlan_macip_lens; member
|