/openbmc/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 1065 u32 fcoe_sof_eof, u32 type_tucmd, u32 mss_l4len_idx) in wx_tx_ctxtdesc() argument 1075 type_tucmd |= WX_TXD_DTYP_CTXT; in wx_tx_ctxtdesc() 1078 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in wx_tx_ctxtdesc() 1207 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in wx_tso() local 1313 type_tucmd = ptype << 24; in wx_tso() 1316 type_tucmd |= WX_SET_FLAG(first->tx_flags, in wx_tso() 1320 type_tucmd, mss_l4len_idx); in wx_tso() 1330 u32 mss_l4len_idx = 0, type_tucmd; in wx_tx_csum() local 1438 type_tucmd = ptype << 24; in wx_tx_csum() 1441 type_tucmd |= WX_SET_FLAG(first->tx_flags, in wx_tx_csum() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 1979 u32 type_tucmd, u32 mss_l4len_idx) in igbvf_tx_ctxtdesc() argument 1992 type_tucmd |= E1000_TXD_CMD_DEXT | E1000_ADVTXD_DTYP_CTXT; in igbvf_tx_ctxtdesc() 1996 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igbvf_tx_ctxtdesc() 2006 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igbvf_tso() local 2033 type_tucmd = E1000_ADVTXD_TUCMD_L4T_TCP; in igbvf_tso() 2046 type_tucmd |= E1000_ADVTXD_TUCMD_IPV4; in igbvf_tso() 2072 igbvf_tx_ctxtdesc(tx_ring, vlan_macip_lens, type_tucmd, mss_l4len_idx); in igbvf_tso() 2081 u32 type_tucmd = 0; in igbvf_tx_csum() local 2092 type_tucmd = E1000_ADVTXD_TUCMD_L4T_TCP; in igbvf_tx_csum() 2099 type_tucmd = E1000_ADVTXD_TUCMD_L4T_SCTP; in igbvf_tx_csum() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 3752 u32 type_tucmd, u32 mss_l4len_idx) in ixgbevf_tx_ctxtdesc() argument 3763 type_tucmd |= IXGBE_TXD_CMD_DEXT | IXGBE_ADVTXD_DTYP_CTXT; in ixgbevf_tx_ctxtdesc() 3767 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in ixgbevf_tx_ctxtdesc() 3776 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbevf_tso() local 3808 type_tucmd = IXGBE_ADVTXD_TUCMD_L4T_TCP; in ixgbevf_tso() 3823 type_tucmd |= IXGBE_ADVTXD_TUCMD_IPV4; in ixgbevf_tso() 3855 type_tucmd |= itd->flags | itd->trailer_len; in ixgbevf_tso() 3862 ixgbevf_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbevf_tso() 3875 u32 type_tucmd = 0; in ixgbevf_tx_csum() local 3882 type_tucmd = IXGBE_ADVTXD_TUCMD_L4T_TCP; in ixgbevf_tx_csum() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 497 u32 type_tucmd = IXGBE_ADVTXT_TUCMD_FCOE; in ixgbe_fso() local 575 type_tucmd |= IXGBE_ADVTXD_TUCMD_L4T_RSV; in ixgbe_fso() 593 type_tucmd, mss_l4len_idx); in ixgbe_fso()
|
H A D | ixgbe_lib.c | 1284 u32 fceof_saidx, u32 type_tucmd, u32 mss_l4len_idx) in ixgbe_tx_ctxtdesc() argument 1295 type_tucmd |= IXGBE_TXD_CMD_DEXT | IXGBE_ADVTXD_DTYP_CTXT; in ixgbe_tx_ctxtdesc() 1299 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in ixgbe_tx_ctxtdesc()
|
H A D | ixgbe_main.c | 8051 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbe_tso() local 8084 type_tucmd = (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) ? in ixgbe_tso() 8100 type_tucmd |= IXGBE_ADVTXD_TUCMD_IPV4; in ixgbe_tso() 8118 if (type_tucmd & IXGBE_ADVTXD_TUCMD_L4T_TCP) { in ixgbe_tso() 8139 type_tucmd |= itd->flags | itd->trailer_len; in ixgbe_tso() 8146 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbe_tso() 8159 u32 type_tucmd = 0; in ixgbe_tx_csum() local 8171 type_tucmd = IXGBE_ADVTXD_TUCMD_L4T_TCP; in ixgbe_tx_csum() 8178 type_tucmd = IXGBE_ADVTXD_TUCMD_L4T_SCTP; in ixgbe_tx_csum() 8197 type_tucmd |= itd->flags | itd->trailer_len; in ixgbe_tx_csum() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 1150 u32 vlan_macip_lens, u32 type_tucmd, in igc_tx_ctxtdesc() argument 1162 type_tucmd |= IGC_TXD_CMD_DEXT | IGC_ADVTXD_DTYP_CTXT; in igc_tx_ctxtdesc() 1172 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igc_tx_ctxtdesc() 1182 u32 type_tucmd = 0; in igc_tx_csum() local 1194 type_tucmd = IGC_ADVTXD_TUCMD_L4T_TCP; in igc_tx_csum() 1201 type_tucmd = IGC_ADVTXD_TUCMD_L4T_SCTP; 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 1486 type_tucmd = IGC_ADVTXD_TUCMD_L4T_TCP; in igc_tso() 1499 type_tucmd | in igc_tso() [all...] |
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 5955 u32 vlan_macip_lens, u32 type_tucmd, in igb_tx_ctxtdesc() argument 5968 type_tucmd |= E1000_TXD_CMD_DEXT | E1000_ADVTXD_DTYP_CTXT; in igb_tx_ctxtdesc() 5975 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igb_tx_ctxtdesc() 5994 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igb_tso() local 6023 type_tucmd = (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) ? in igb_tso() 6037 type_tucmd |= E1000_ADVTXD_TUCMD_IPV4; in igb_tso() 6054 if (type_tucmd & E1000_ADVTXD_TUCMD_L4T_TCP) { in igb_tso() 6080 type_tucmd, mss_l4len_idx); in igb_tso() 6089 u32 type_tucmd = 0; in igb_tx_csum() local 6101 type_tucmd = E1000_ADVTXD_TUCMD_L4T_TCP; in igb_tx_csum() [all …]
|