| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | netdev.c | 1967 static void igbvf_tx_ctxtdesc(struct igbvf_ring *tx_ring, u32 vlan_macip_lens, in igbvf_tx_ctxtdesc() argument 1983 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igbvf_tx_ctxtdesc() 1995 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igbvf_tso() local 2057 vlan_macip_lens = l4.hdr - ip.hdr; in igbvf_tso() 2058 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igbvf_tso() 2059 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tso() 2061 igbvf_tx_ctxtdesc(tx_ring, vlan_macip_lens, type_tucmd, mss_l4len_idx); in igbvf_tso() 2069 u32 vlan_macip_lens = 0; in igbvf_tx_csum() local 2097 vlan_macip_lens = skb_checksum_start_offset(skb) - in igbvf_tx_csum() 2100 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igbvf_tx_csum() [all …]
|
| H A D | vf.h | 97 __le32 vlan_macip_lens; member
|
| /linux/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 | 1281 void ixgbe_tx_ctxtdesc(struct ixgbe_ring *tx_ring, u32 vlan_macip_lens, in ixgbe_tx_ctxtdesc() argument 1296 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbe_tx_ctxtdesc()
|
| H A D | ixgbe_main.c | 8704 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbe_tso() local 8795 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbe_tso() 8796 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tso() 8797 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tso() 8799 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbe_tso() 8810 u32 vlan_macip_lens = 0; in ixgbe_tx_csum() local 8842 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbe_tx_csum() 8846 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tx_csum() 8847 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tx_csum() 8852 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, 0); in ixgbe_tx_csum()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_lib.c | 1174 static void wx_tx_ctxtdesc(struct wx_ring *tx_ring, u32 vlan_macip_lens, in wx_tx_ctxtdesc() argument 1186 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in wx_tx_ctxtdesc() 1311 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in wx_tso() local 1417 vlan_macip_lens = skb_inner_network_header_len(skb) >> 1; in wx_tso() 1419 vlan_macip_lens = skb_network_header_len(skb) >> 1; in wx_tso() 1422 vlan_macip_lens |= skb_network_offset(skb) << WX_TXD_MACLEN_SHIFT; in wx_tso() 1423 vlan_macip_lens |= first->tx_flags & WX_TX_FLAGS_VLAN_MASK; in wx_tso() 1431 wx_tx_ctxtdesc(tx_ring, vlan_macip_lens, tunhdr_eiplen_tunlen, in wx_tso() 1440 u32 tunhdr_eiplen_tunlen = 0, vlan_macip_lens = 0; in wx_tx_csum() local 1451 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum() [all …]
|
| H A D | wx_type.h | 989 __le32 vlan_macip_lens; member
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_base.h | 29 __le32 vlan_macip_lens; member
|
| H A D | igc_main.c | 1147 u32 vlan_macip_lens, u32 type_tucmd, in igc_tx_ctxtdesc() argument 1168 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igc_tx_ctxtdesc() 1178 u32 vlan_macip_lens = 0; in igc_tx_csum() local 1209 vlan_macip_lens = skb_checksum_start_offset(skb) - in igc_tx_csum() 1212 vlan_macip_lens |= skb_network_offset(skb) << IGC_ADVTXD_MACLEN_SHIFT; in igc_tx_csum() 1213 vlan_macip_lens |= first->tx_flags & IGC_TX_FLAGS_VLAN_MASK; in igc_tx_csum() 1216 vlan_macip_lens, type_tucmd, 0); in igc_tx_csum() 1456 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igc_tso() local 1536 vlan_macip_lens = l4.hdr - ip.hdr; in igc_tso() 1537 vlan_macip_lens |= (ip.hdr - skb->data) << IGC_ADVTXD_MACLEN_SHIFT; in igc_tso() [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 1009 context_desc->vlan_macip_lens = in ixgbevf_xmit_xdp_ring() 3781 u32 vlan_macip_lens, u32 fceof_saidx, in ixgbevf_tx_ctxtdesc() argument 3795 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbevf_tx_ctxtdesc() 3806 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbevf_tso() local 3888 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbevf_tso() 3889 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tso() 3890 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso() 3892 ixgbevf_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbevf_tso() 3903 u32 vlan_macip_lens = 0; in ixgbevf_tx_csum() local 3933 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbevf_tx_csum() [all …]
|
| H A D | defines.h | 240 __le32 vlan_macip_lens; member
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_82575.h | 123 __le32 vlan_macip_lens; member
|
| H A D | igb_main.c | 6013 u32 vlan_macip_lens, u32 type_tucmd, in igb_tx_ctxtdesc() argument 6032 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igb_tx_ctxtdesc() 6052 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igb_tso() local 6133 vlan_macip_lens = l4.hdr - ip.hdr; in igb_tso() 6134 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso() 6135 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tso() 6137 igb_tx_ctxtdesc(tx_ring, first, vlan_macip_lens, in igb_tso() 6146 u32 vlan_macip_lens = 0; in igb_tx_csum() local 6177 vlan_macip_lens = skb_checksum_start_offset(skb) - in igb_tx_csum() 6180 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tx_csum() [all …]
|