/linux-4.1.27/net/core/ |
D | tso.c | 14 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso, in tso_build_hdr() argument 24 iph->id = htons(tso->ip_id); in tso_build_hdr() 27 put_unaligned_be32(tso->tcp_seq, &tcph->seq); in tso_build_hdr() 28 tso->ip_id++; in tso_build_hdr() 39 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size) in tso_build_data() argument 41 tso->tcp_seq += size; in tso_build_data() 42 tso->size -= size; in tso_build_data() 43 tso->data += size; in tso_build_data() 45 if ((tso->size == 0) && in tso_build_data() 46 (tso->next_frag_idx < skb_shinfo(skb)->nr_frags)) { in tso_build_data() [all …]
|
D | Makefile | 12 sock_diag.o dev_ioctl.o tso.o
|
/linux-4.1.27/include/net/ |
D | tso.h | 15 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso, 17 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size); 18 void tso_start(struct sk_buff *skb, struct tso_t *tso);
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-desc.c | 496 unsigned int offset, tso, vlan, datalen, len; in xgbe_map_tx_skb() local 509 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 515 if ((tso && (packet->mss != ring->tx.cur_mss)) || in xgbe_map_tx_skb() 520 if (tso) { in xgbe_map_tx_skb()
|
D | xgbe.h | 635 unsigned int tso; /* TCP Segmentation Offload */ member
|
D | xgbe-dev.c | 1407 unsigned int csum, tso, vlan; in xgbe_dev_xmit() local 1418 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1423 if (tso && (packet->mss != ring->tx.cur_mss)) in xgbe_dev_xmit() 1529 if (tso) { in xgbe_dev_xmit()
|
D | xgbe-drv.c | 518 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN); in xgbe_get_all_hw_features()
|
/linux-4.1.27/arch/tile/include/hv/ |
D | drv_xgbe_intf.h | 342 uint8_t tso : 1; member 412 uint8_t tso : 1; member
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sunvnet.h | 47 unsigned tso:1; member
|
D | sunvnet.c | 125 if (vio_version_after_eq(vio, 1, 7) && port->tso) { in vnet_send_attr() 188 port->tso &= !!(pkt->cflags & VNET_LSO_IPV4_CAPAB); in handle_attr_info() 190 port->tso = false; in handle_attr_info() 191 if (port->tso) { in handle_attr_info() 196 port->tso = false; in handle_attr_info() 359 if (port->tso && port->tsolen > port->rmtu) in vnet_rx_one() 1178 if (port->tso && gso_size < datalen) in vnet_handle_offloads() 1194 if (port->tso && gso_size < datalen) { in vnet_handle_offloads() 1215 if (port->tso && curr->len > dev->mtu) { in vnet_handle_offloads() 1674 port->tso = true; in vnet_port_reset() [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 179 u64 tso; member 198 s->tso += tx->tso; in collect_sge_port_stats()
|
D | cxgb4.h | 579 unsigned long tso; /* # of TSO requests */ member
|
D | sge.c | 1233 q->tso++; in t4_eth_xmit() 2621 txq->tso = txq->tx_cso = txq->vlan_ins = 0; in t4_sge_alloc_eth_txq()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | adapter.h | 260 unsigned long tso; /* # of TSO requests */ member
|
D | cxgb4vf_main.c | 1501 u64 tso; member 1591 stats->tso += txq->tso; in collect_sge_port_stats() 1926 T("TSO:", tso); in sge_qstats_show()
|
D | sge.c | 1307 txq->tso++; in t4vf_eth_xmit() 2446 txq->tso = 0; in t4vf_sge_alloc_eth_txq()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 1106 int tso; in fm10k_xmit_frame_ring() local 1138 tso = fm10k_tso(tx_ring, first); in fm10k_xmit_frame_ring() 1139 if (tso < 0) in fm10k_xmit_frame_ring() 1141 else if (!tso) in fm10k_xmit_frame_ring()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1920 int tso; in i40e_xmit_frame_ring() local 1940 tso = i40e_tso(tx_ring, skb, tx_flags, protocol, &hdr_len, in i40e_xmit_frame_ring() 1943 if (tso < 0) in i40e_xmit_frame_ring() 1945 else if (tso) in i40e_xmit_frame_ring()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 820 struct tso_t tso; in txq_submit_tso() local 830 tso_start(skb, &tso); in txq_submit_tso() 842 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso() 849 size = min_t(int, tso.size, data_left); in txq_submit_tso() 850 ret = txq_put_data_tso(dev, txq, skb, tso.data, size, in txq_submit_tso() 856 tso_build_data(skb, &tso, size); in txq_submit_tso()
|
D | mvneta.c | 1626 struct tso_t tso; in mvneta_tx_tso() local 1640 tso_start(skb, &tso); in mvneta_tx_tso() 1652 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in mvneta_tx_tso() 1660 size = min_t(int, tso.size, data_left); in mvneta_tx_tso() 1663 tso.data, size, in mvneta_tx_tso() 1669 tso_build_data(skb, &tso, size); in mvneta_tx_tso()
|
/linux-4.1.27/Documentation/networking/ |
D | s2io.txt | 118 # ethtool -K <ethX> tso on
|
D | cxgb.txt | 85 ethtool -K <interface> tso off 89 ethtool -K <interface> tso on
|
D | ixgb.txt | 417 "ethtool -K eth0 tso off" may resolve the problem.
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 1520 int tso; in ixgb_xmit_frame() local 1543 tso = ixgb_tso(adapter, skb); in ixgb_xmit_frame() 1544 if (tso < 0) { in ixgb_xmit_frame() 1549 if (likely(tso)) in ixgb_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_main.c | 695 struct tso_t tso; in fec_enet_txq_submit_tso() local 713 tso_start(skb, &tso); in fec_enet_txq_submit_tso() 725 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso() 733 size = min_t(int, tso.size, data_left); in fec_enet_txq_submit_tso() 739 tso.data, size, in fec_enet_txq_submit_tso() 746 tso_build_data(skb, &tso, size); in fec_enet_txq_submit_tso()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2689 int tso; in i40e_xmit_frame_ring() local 2709 tso = i40e_tso(tx_ring, skb, tx_flags, protocol, &hdr_len, in i40e_xmit_frame_ring() 2712 if (tso < 0) in i40e_xmit_frame_ring() 2714 else if (tso) in i40e_xmit_frame_ring()
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 2222 int tso = 0; in igbvf_xmit_frame_ring_adv() local 2257 tso = skb_is_gso(skb) ? in igbvf_xmit_frame_ring_adv() 2259 if (unlikely(tso < 0)) { in igbvf_xmit_frame_ring_adv() 2264 if (tso) in igbvf_xmit_frame_ring_adv()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 2364 int tso; in atl1_xmit_frame() local 2427 tso = atl1_tso(adapter, skb, ptpd); in atl1_xmit_frame() 2428 if (tso < 0) { in atl1_xmit_frame() 2433 if (!tso) { in atl1_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 3605 int tso; in ixgbevf_xmit_frame() local 3654 tso = ixgbevf_tso(tx_ring, first, &hdr_len); in ixgbevf_xmit_frame() 3655 if (tso < 0) in ixgbevf_xmit_frame() 3657 else if (!tso) in ixgbevf_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2103 int tso; in atl1c_tx_map() local 2106 tso = (tpd->word1 >> TPD_LSO_EN_SHIFT) & TPD_LSO_EN_MASK; in atl1c_tx_map() 2107 if (tso) { in atl1c_tx_map()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1884 int copied, offset, copy_len, hdr_len = 0, tso = 0, vlan_oob = 0; in netxen_tso_check() local 1918 tso = 1; in netxen_tso_check() 1944 if (!tso) in netxen_tso_check()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 3123 int tso; in e1000_xmit_frame() local 3236 tso = e1000_tso(adapter, tx_ring, skb, protocol); in e1000_xmit_frame() 3237 if (tso < 0) { in e1000_xmit_frame() 3242 if (likely(tso)) { in e1000_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2638 int tso; in qlge_send() local 2675 tso = ql_tso(skb, (struct ob_mac_tso_iocb_req *)mac_iocb_ptr); in qlge_send() 2676 if (tso < 0) { in qlge_send() 2679 } else if (unlikely(!tso) && (skb->ip_summed == CHECKSUM_PARTIAL)) { in qlge_send()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 7286 int tso; in ixgbe_xmit_frame_ring() local 7383 tso = ixgbe_fso(tx_ring, first, &hdr_len); in ixgbe_xmit_frame_ring() 7384 if (tso < 0) in ixgbe_xmit_frame_ring() 7391 tso = ixgbe_tso(tx_ring, first, &hdr_len); in ixgbe_xmit_frame_ring() 7392 if (tso < 0) in ixgbe_xmit_frame_ring() 7394 else if (!tso) in ixgbe_xmit_frame_ring()
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
D | tilepro.c | 1726 .tso = true, in tile_net_tx_tso()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5555 int tso; in e1000_xmit_frame() local 5629 tso = e1000_tso(tx_ring, skb, protocol); in e1000_xmit_frame() 5630 if (tso < 0) { in e1000_xmit_frame() 5635 if (tso) in e1000_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5002 int tso; in igb_xmit_frame_ring() local 5060 tso = igb_tso(tx_ring, first, &hdr_len); in igb_xmit_frame_ring() 5061 if (tso < 0) in igb_xmit_frame_ring() 5063 else if (!tso) in igb_xmit_frame_ring()
|