/Linux-v6.6/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1980 u32 type_tucmd, u32 mss_l4len_idx) in igbvf_tx_ctxtdesc() argument 1993 type_tucmd |= E1000_TXD_CMD_DEXT | E1000_ADVTXD_DTYP_CTXT; in igbvf_tx_ctxtdesc() 1997 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igbvf_tx_ctxtdesc() 2007 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igbvf_tso() local 2034 type_tucmd = E1000_ADVTXD_TUCMD_L4T_TCP; in igbvf_tso() 2047 type_tucmd |= E1000_ADVTXD_TUCMD_IPV4; in igbvf_tso() 2073 igbvf_tx_ctxtdesc(tx_ring, vlan_macip_lens, type_tucmd, mss_l4len_idx); in igbvf_tso() 2082 u32 type_tucmd = 0; in igbvf_tx_csum() local 2093 type_tucmd = E1000_ADVTXD_TUCMD_L4T_TCP; in igbvf_tx_csum() 2100 type_tucmd = E1000_ADVTXD_TUCMD_L4T_SCTP; in igbvf_tx_csum() [all …]
|
/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/ |
D | wx_lib.c | 1133 u32 fcoe_sof_eof, u32 type_tucmd, u32 mss_l4len_idx) in wx_tx_ctxtdesc() argument 1143 type_tucmd |= WX_TXD_DTYP_CTXT; in wx_tx_ctxtdesc() 1146 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in wx_tx_ctxtdesc() 1275 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in wx_tso() local 1381 type_tucmd = ptype << 24; in wx_tso() 1384 type_tucmd |= WX_SET_FLAG(first->tx_flags, in wx_tso() 1388 type_tucmd, mss_l4len_idx); in wx_tso() 1398 u32 mss_l4len_idx = 0, type_tucmd; in wx_tx_csum() local 1506 type_tucmd = ptype << 24; in wx_tx_csum() 1509 type_tucmd |= WX_SET_FLAG(first->tx_flags, in wx_tx_csum() [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/ixgbevf/ |
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 …]
|
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/ |
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()
|
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()
|
D | ixgbe_main.c | 8055 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in ixgbe_tso() local 8088 type_tucmd = (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) ? in ixgbe_tso() 8104 type_tucmd |= IXGBE_ADVTXD_TUCMD_IPV4; in ixgbe_tso() 8122 if (type_tucmd & IXGBE_ADVTXD_TUCMD_L4T_TCP) { in ixgbe_tso() 8143 type_tucmd |= itd->flags | itd->trailer_len; in ixgbe_tso() 8150 ixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, in ixgbe_tso() 8163 u32 type_tucmd = 0; in ixgbe_tx_csum() local 8175 type_tucmd = IXGBE_ADVTXD_TUCMD_L4T_TCP; in ixgbe_tx_csum() 8182 type_tucmd = IXGBE_ADVTXD_TUCMD_L4T_SCTP; in ixgbe_tx_csum() 8201 type_tucmd |= itd->flags | itd->trailer_len; in ixgbe_tx_csum() [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/igc/ |
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 |= IGC_ADVTXD_TUCMD_IPV4; in igc_tso() [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5946 u32 vlan_macip_lens, u32 type_tucmd, in igb_tx_ctxtdesc() argument 5959 type_tucmd |= E1000_TXD_CMD_DEXT | E1000_ADVTXD_DTYP_CTXT; in igb_tx_ctxtdesc() 5966 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igb_tx_ctxtdesc() 5985 u32 vlan_macip_lens, type_tucmd, mss_l4len_idx; in igb_tso() local 6014 type_tucmd = (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) ? in igb_tso() 6028 type_tucmd |= E1000_ADVTXD_TUCMD_IPV4; in igb_tso() 6045 if (type_tucmd & E1000_ADVTXD_TUCMD_L4T_TCP) { in igb_tso() 6071 type_tucmd, mss_l4len_idx); in igb_tso() 6080 u32 type_tucmd = 0; in igb_tx_csum() local 6092 type_tucmd = E1000_ADVTXD_TUCMD_L4T_TCP; in igb_tx_csum() [all …]
|