Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c1076 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in wx_tx_ctxtdesc()
1207 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in wx_tso() local
1305 vlan_macip_lens = skb_inner_network_header_len(skb) >> 1; in wx_tso()
1307 vlan_macip_lens = skb_network_header_len(skb) >> 1; in wx_tso()
1311 vlan_macip_lens |= first->tx_flags & WX_TX_FLAGS_VLAN_MASK; in wx_tso()
1319 wx_tx_ctxtdesc(tx_ring, vlan_macip_lens, tunhdr_eiplen_tunlen, in wx_tso()
1328 u32 tunhdr_eiplen_tunlen = 0, vlan_macip_lens = 0; in wx_tx_csum() local
1338 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum()
1355 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum()
1397 vlan_macip_lens = skb_network_offset(skb) << in wx_tx_csum()
[all …]
H A Dwx_type.h723 __le32 vlan_macip_lens; member
/openbmc/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()
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()
1457 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igc_tso() local
1537 vlan_macip_lens = l4.hdr - ip.hdr; in igc_tso()
1538 vlan_macip_lens |= (ip.hdr - skb->data) << IGC_ADVTXD_MACLEN_SHIFT; in igc_tso()
1539 vlan_macip_lens |= first->tx_flags & IGC_TX_FLAGS_VLAN_MASK; in igc_tso()
[all …]
/openbmc/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.c8051 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbe_tso() local
8142 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbe_tso()
8143 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tso()
8144 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tso()
8146 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbe_tso()
8157 u32 vlan_macip_lens = 0; in ixgbe_tx_csum() local
8189 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbe_tx_csum()
8193 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tx_csum()
8194 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tx_csum()
8199 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, 0); in ixgbe_tx_csum()
H A Dixgbe_type.h2894 __le32 vlan_macip_lens; member
/openbmc/linux/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c1994 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 Dvf.h97 __le32 vlan_macip_lens; member
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_82575.h123 __le32 vlan_macip_lens; member
H A Digb_main.c5951 u32 vlan_macip_lens, u32 type_tucmd, in igb_tx_ctxtdesc() argument
5970 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igb_tx_ctxtdesc()
5990 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igb_tso() local
6071 vlan_macip_lens = l4.hdr - ip.hdr; in igb_tso()
6072 vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso()
6073 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tso()
6075 igb_tx_ctxtdesc(tx_ring, first, vlan_macip_lens, in igb_tso()
6084 u32 vlan_macip_lens = 0; in igb_tx_csum() local
6115 vlan_macip_lens = skb_checksum_start_offset(skb) - in igb_tx_csum()
6119 vlan_macip_lens |= first->tx_flags & IGB_TX_FLAGS_VLAN_MASK; in igb_tx_csum()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Ddefines.h236 __le32 vlan_macip_lens; member
H A Dixgbevf_main.c1009 context_desc->vlan_macip_lens = in ixgbevf_xmit_xdp_ring()
3751 u32 vlan_macip_lens, u32 fceof_saidx, in ixgbevf_tx_ctxtdesc() argument
3765 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbevf_tx_ctxtdesc()
3776 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbevf_tso() local
3858 vlan_macip_lens = l4.hdr - ip.hdr; in ixgbevf_tso()
3859 vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tso()
3860 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso()
3873 u32 vlan_macip_lens = 0; in ixgbevf_tx_csum() local
3903 vlan_macip_lens = skb_checksum_start_offset(skb) - in ixgbevf_tx_csum()
3908 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum()
[all …]
/openbmc/qemu/hw/net/
H A Digb_regs.h25 uint32_t vlan_macip_lens; member
H A Digb.c521 VMSTATE_UINT32(vlan_macip_lens, struct e1000_adv_tx_context_desc),
H A Digb_core.c632 tx->ctx[idx].vlan_macip_lens = le32_to_cpu(tx_ctx_desc->vlan_macip_lens); in igb_process_tx_desc()
661 tx->ctx[idx].vlan_macip_lens >> IGB_TX_FLAGS_VLAN_SHIFT, in igb_process_tx_desc()