/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 1079 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in wx_tx_ctxtdesc() 1210 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in wx_tso() local 1308 vlan_macip_lens = skb_inner_network_header_len(skb) >> 1; in wx_tso() 1310 vlan_macip_lens = skb_network_header_len(skb) >> 1; in wx_tso() 1314 vlan_macip_lens |= first->tx_flags & WX_TX_FLAGS_VLAN_MASK; in wx_tso() 1322 wx_tx_ctxtdesc(tx_ring, vlan_macip_lens, tunhdr_eiplen_tunlen, in wx_tso() 1331 u32 tunhdr_eiplen_tunlen = 0, vlan_macip_lens = 0; in wx_tx_csum() local 1341 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum() 1358 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum() 1400 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum() [all …]
|
H A D | wx_type.h | 842 __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 | 1150 u32 vlan_macip_lens, u32 type_tucmd, in igc_tx_ctxtdesc() argument 1171 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igc_tx_ctxtdesc() 1181 u32 vlan_macip_lens = 0; in igc_tx_csum() local 1212 vlan_macip_lens = skb_checksum_start_offset(skb) - in igc_tx_csum() 1216 vlan_macip_lens |= first->tx_flags & IGC_TX_FLAGS_VLAN_MASK; in igc_tx_csum() 1219 vlan_macip_lens, type_tucmd, 0); in igc_tx_csum() 1459 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igc_tso() local 1539 vlan_macip_lens = l4.hdr - ip.hdr; in igc_tso() 1540 vlan_macip_lens |= (ip.hdr - skb->data) << IGC_ADVTXD_MACLEN_SHIFT; in igc_tso() 1541 vlan_macip_lens |= first->tx_flags & IGC_TX_FLAGS_VLAN_MASK; in igc_tso() [all …]
|
/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 | 1283 void ixgbe_tx_ctxtdesc(struct ixgbe_ring *tx_ring, u32 vlan_macip_lens, in ixgbe_tx_ctxtdesc() argument 1297 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbe_tx_ctxtdesc()
|
H A D | ixgbe_main.c | 8078 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbe_tso() local 8169 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbe_tso() 8170 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tso() 8171 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tso() 8173 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbe_tso() 8184 u32 vlan_macip_lens = 0; in ixgbe_tx_csum() local 8216 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbe_tx_csum() 8220 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tx_csum() 8221 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tx_csum() 8226 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, 0); in ixgbe_tx_csum()
|
H A D | ixgbe_type.h | 2893 __le32 vlan_macip_lens; member
|
/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 1994 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igbvf_tx_ctxtdesc() 2006 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igbvf_tso() local 2068 vlan_macip_lens = l4.hdr - ip.hdr; in igbvf_tso() 2069 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igbvf_tso() 2070 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tso() 2072 igbvf_tx_ctxtdesc(tx_ring, vlan_macip_lens, type_tucmd, mss_l4len_idx); in igbvf_tso() 2080 u32 vlan_macip_lens = 0; in igbvf_tx_csum() local 2108 vlan_macip_lens = skb_checksum_start_offset(skb) - in igbvf_tx_csum() 2111 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igbvf_tx_csum() 2112 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/drivers/net/ethernet/intel/igb/ |
H A D | e1000_82575.h | 123 __le32 vlan_macip_lens; member
|
H A D | igb_main.c | 5926 u32 vlan_macip_lens, u32 type_tucmd, in igb_tx_ctxtdesc() argument 5945 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igb_tx_ctxtdesc() 5965 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igb_tso() local 6046 vlan_macip_lens = l4.hdr - ip.hdr; in igb_tso() 6047 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso() 6048 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tso() 6050 igb_tx_ctxtdesc(tx_ring, first, vlan_macip_lens, in igb_tso() 6059 u32 vlan_macip_lens = 0; in igb_tx_csum() local 6090 vlan_macip_lens = skb_checksum_start_offset(skb) - in igb_tx_csum() 6094 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tx_csum() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 1008 context_desc->vlan_macip_lens = in ixgbevf_xmit_xdp_ring() 3750 u32 vlan_macip_lens, u32 fceof_saidx, in ixgbevf_tx_ctxtdesc() argument 3764 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbevf_tx_ctxtdesc() 3775 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbevf_tso() local 3857 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbevf_tso() 3858 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tso() 3859 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso() 3872 u32 vlan_macip_lens = 0; in ixgbevf_tx_csum() local 3902 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbevf_tx_csum() 3907 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum() [all …]
|
H A D | defines.h | 236 __le32 vlan_macip_lens; member
|