Home
last modified time | relevance | path

Searched refs:tso (Results 1 – 25 of 45) sorted by relevance

12

/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c532 unsigned int offset, tso, vlan, datalen, len; in xgbe_map_tx_skb() local
545 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb()
551 if ((tso && (packet->mss != ring->tx.cur_mss)) || in xgbe_map_tx_skb()
556 if (tso) { in xgbe_map_tx_skb()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c239 struct tso_t tso; in iwl_pcie_gen2_build_amsdu() local
276 tso_start(skb, &tso); in iwl_pcie_gen2_build_amsdu()
306 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_pcie_gen2_build_amsdu()
329 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_pcie_gen2_build_amsdu()
330 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_pcie_gen2_build_amsdu()
337 trace_iwlwifi_dev_tx_tso_chunk(trans->dev, tso.data, in iwl_pcie_gen2_build_amsdu()
341 tso_build_data(skb, &tso, tb_len); in iwl_pcie_gen2_build_amsdu()
Dtx.c2070 struct tso_t tso; in iwl_fill_data_tbs_amsdu() local
2116 tso_start(skb, &tso); in iwl_fill_data_tbs_amsdu()
2147 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_fill_data_tbs_amsdu()
2194 unsigned int size = min_t(unsigned int, tso.size, in iwl_fill_data_tbs_amsdu()
2199 skb_put_data(csum_skb, tso.data, size); in iwl_fill_data_tbs_amsdu()
2201 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_fill_data_tbs_amsdu()
2211 trace_iwlwifi_dev_tx_tso_chunk(trans->dev, tso.data, in iwl_fill_data_tbs_amsdu()
2215 tso_build_data(skb, &tso, size); in iwl_fill_data_tbs_amsdu()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-desc.c507 unsigned int tso, vlan; in xlgmac_map_tx_skb() local
519 tso = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_map_tx_skb()
527 if ((tso && (pkt_info->mss != ring->tx.cur_mss)) || in xlgmac_map_tx_skb()
532 if (tso) { in xlgmac_map_tx_skb()
Ddwc-xlgmac-common.c181 if (pdata->hw_feat.tso) { in xlgmac_init()
445 hw_feat->tso = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
670 pdata->hw_feat.tso ? "YES" : "NO"); in xlgmac_print_all_hw_features()
Ddwc-xlgmac-hw.c710 unsigned int csum, tso, vlan; in xlgmac_dev_xmit() local
720 tso = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit()
727 if (tso && (pkt_info->mss != ring->tx.cur_mss)) in xlgmac_dev_xmit()
879 if (tso) { in xlgmac_dev_xmit()
1388 if (pdata->hw_feat.tso) { in xlgmac_config_tso_mode()
Ddwc-xlgmac.h521 unsigned int tso; /* TCP Segmentation Offload */ member
/drivers/net/ethernet/sun/
Dsunvnet_common.c109 if (vio_version_after_eq(vio, 1, 7) && port->tso) { in sunvnet_send_attr_common()
172 port->tso &= !!(pkt->cflags & VNET_LSO_IPV4_CAPAB); in handle_attr_info()
174 port->tso = false; in handle_attr_info()
175 if (port->tso) { in handle_attr_info()
180 port->tso = false; in handle_attr_info()
382 if (port->tso && port->tsolen > port->rmtu) in vnet_rx_one()
1252 if (port->tso && gso_size < datalen) in vnet_handle_offloads()
1268 if (port->tso && gso_size < datalen) { in vnet_handle_offloads()
1289 if (port->tso && curr->len > dev->mtu) { in vnet_handle_offloads()
1730 port->tso = (port->vsw == 0); /* no tso in vsw, misbehaves in bridge */ in vnet_port_reset()
Dsunvnet_common.h66 unsigned tso:1; member
Dldmvsw.c336 port->tso = false; /* no tso in vsw, misbehaves in bridge */ in vsw_port_probe()
Dsunvnet.c477 port->tso = true; in vnet_port_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h88 bool tso; member
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c1380 hdr->tso = 1; in nicvf_sq_add_hdr_subdesc()
1462 struct tso_t tso; in nicvf_sq_append_tso() local
1468 tso_start(skb, &tso); in nicvf_sq_append_tso()
1482 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in nicvf_sq_append_tso()
1494 size = min_t(int, tso.size, data_left); in nicvf_sq_append_tso()
1498 virt_to_phys(tso.data)); in nicvf_sq_append_tso()
1503 tso_build_data(skb, &tso, size); in nicvf_sq_append_tso()
Dq_struct.h533 u64 tso:1; member
568 u64 tso:1;
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c2245 int tso, count; in i40e_xmit_frame_ring() local
2292 tso = i40e_tso(first, &hdr_len, &cd_type_cmd_tso_mss); in i40e_xmit_frame_ring()
2294 if (tso < 0) in i40e_xmit_frame_ring()
2296 else if (tso) in i40e_xmit_frame_ring()
2300 tso = i40e_tx_enable_csum(skb, &tx_flags, &td_cmd, &td_offset, in i40e_xmit_frame_ring()
2302 if (tso < 0) in i40e_xmit_frame_ring()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1092 int tso; in fm10k_xmit_frame_ring() local
1116 tso = fm10k_tso(tx_ring, first); in fm10k_xmit_frame_ring()
1117 if (tso < 0) in fm10k_xmit_frame_ring()
1119 else if (!tso) in fm10k_xmit_frame_ring()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h260 unsigned long tso; /* # of TSO requests */ member
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3352 int tso, count; in i40e_xmit_frame_ring() local
3400 tso = i40e_tso(first, &hdr_len, &cd_type_cmd_tso_mss); in i40e_xmit_frame_ring()
3402 if (tso < 0) in i40e_xmit_frame_ring()
3404 else if (tso) in i40e_xmit_frame_ring()
3408 tso = i40e_tx_enable_csum(skb, &tx_flags, &td_cmd, &td_offset, in i40e_xmit_frame_ring()
3410 if (tso < 0) in i40e_xmit_frame_ring()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c259 u64 tso; member
317 s->tso += tx->tso; in collect_sge_port_stats()
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c838 struct tso_t tso; in txq_submit_tso() local
852 tso_start(skb, &tso); in txq_submit_tso()
865 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso()
873 size = min_t(int, tso.size, data_left); in txq_submit_tso()
874 ret = txq_put_data_tso(dev, txq, skb, tso.data, size, in txq_submit_tso()
880 tso_build_data(skb, &tso, size); in txq_submit_tso()
Dmvneta.c2232 struct tso_t tso; in mvneta_tx_tso() local
2246 tso_start(skb, &tso); in mvneta_tx_tso()
2258 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in mvneta_tx_tso()
2266 size = min_t(int, tso.size, data_left); in mvneta_tx_tso()
2269 tso.data, size, in mvneta_tx_tso()
2275 tso_build_data(skb, &tso, size); in mvneta_tx_tso()
/drivers/net/ethernet/atheros/alx/
Dmain.c1517 int tso; in alx_start_xmit_ring() local
1529 tso = alx_tso(skb, first); in alx_start_xmit_ring()
1530 if (tso < 0) in alx_start_xmit_ring()
1532 else if (!tso && alx_tx_csum(skb, first)) in alx_start_xmit_ring()
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1522 int tso; in ixgb_xmit_frame() local
1545 tso = ixgb_tso(adapter, skb); in ixgb_xmit_frame()
1546 if (tso < 0) { in ixgb_xmit_frame()
1551 if (likely(tso)) in ixgb_xmit_frame()
/drivers/net/ethernet/freescale/
Dfec_main.c676 struct tso_t tso; in fec_enet_txq_submit_tso() local
694 tso_start(skb, &tso); in fec_enet_txq_submit_tso()
706 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso()
714 size = min_t(int, tso.size, data_left); in fec_enet_txq_submit_tso()
719 tso.data, size, in fec_enet_txq_submit_tso()
726 tso_build_data(skb, &tso, size); in fec_enet_txq_submit_tso()
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2315 int tso = 0; in igbvf_xmit_frame_ring_adv() local
2350 tso = igbvf_tso(tx_ring, skb, tx_flags, &hdr_len); in igbvf_xmit_frame_ring_adv()
2351 if (unlikely(tso < 0)) { in igbvf_xmit_frame_ring_adv()
2356 if (tso) in igbvf_xmit_frame_ring_adv()

12