Home
last modified time | relevance | path

Searched refs:vlan_macip_lens (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c1067 static void wx_tx_ctxtdesc(struct wx_ring *tx_ring, u32 vlan_macip_lens, in wx_tx_ctxtdesc() argument
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()
1313 vlan_macip_lens |= skb_network_offset(skb) << WX_TXD_MACLEN_SHIFT; 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()
[all …]
H A Dwx_type.h842 __le32 vlan_macip_lens; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c494 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 Dixgbe_lib.c1283 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 Dixgbe_main.c8079 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbe_tso() local
8170 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbe_tso()
8171 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tso()
8172 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tso()
8174 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbe_tso()
8185 u32 vlan_macip_lens = 0; in ixgbe_tx_csum() local
8217 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbe_tx_csum()
8221 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tx_csum()
8222 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tx_csum()
8227 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, 0); in ixgbe_tx_csum()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_base.h29 __le32 vlan_macip_lens; member
H A Digc_main.c1150 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()
1215 vlan_macip_lens |= skb_network_offset(skb) << IGC_ADVTXD_MACLEN_SHIFT; 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()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c1008 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()
3861 ixgbevf_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, 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()
[all …]
H A Ddefines.h236 __le32 vlan_macip_lens; member
/linux/drivers/net/ethernet/intel/igb/
H A De1000_82575.h123 __le32 vlan_macip_lens; member
H A Digb_main.c5930 u32 vlan_macip_lens, u32 type_tucmd, in igb_tx_ctxtdesc() argument
5949 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igb_tx_ctxtdesc()
5969 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igb_tso() local
6050 vlan_macip_lens = l4.hdr - ip.hdr; in igb_tso()
6051 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso()
6052 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tso()
6054 igb_tx_ctxtdesc(tx_ring, first, vlan_macip_lens, in igb_tso()
6063 u32 vlan_macip_lens = 0; in igb_tx_csum() local
6094 vlan_macip_lens = skb_checksum_start_offset(skb) - in igb_tx_csum()
6097 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tx_csum()
[all …]
/linux/drivers/net/ethernet/intel/igbvf/
H A Dvf.h97 __le32 vlan_macip_lens; member