/linux-4.4.14/net/core/ |
D | tso.c | 15 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso, in tso_build_hdr() argument 23 if (!tso->ipv6) { in tso_build_hdr() 26 iph->id = htons(tso->ip_id); in tso_build_hdr() 28 tso->ip_id++; in tso_build_hdr() 35 put_unaligned_be32(tso->tcp_seq, &tcph->seq); in tso_build_hdr() 46 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size) in tso_build_data() argument 48 tso->tcp_seq += size; in tso_build_data() 49 tso->size -= size; in tso_build_data() 50 tso->data += size; in tso_build_data() 52 if ((tso->size == 0) && in tso_build_data() [all …]
|
D | Makefile | 12 sock_diag.o dev_ioctl.o tso.o
|
/linux-4.4.14/include/net/ |
D | tso.h | 16 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso, 18 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size); 19 void tso_start(struct sk_buff *skb, struct tso_t *tso);
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-desc.c | 500 unsigned int offset, tso, vlan, datalen, len; in xgbe_map_tx_skb() local 513 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 519 if ((tso && (packet->mss != ring->tx.cur_mss)) || in xgbe_map_tx_skb() 524 if (tso) { in xgbe_map_tx_skb()
|
D | xgbe.h | 741 unsigned int tso; /* TCP Segmentation Offload */ member
|
D | xgbe-dev.c | 1399 unsigned int csum, tso, vlan; in xgbe_dev_xmit() local 1410 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1415 if (tso && (packet->mss != ring->tx.cur_mss)) in xgbe_dev_xmit() 1523 if (tso) { in xgbe_dev_xmit()
|
D | xgbe-drv.c | 542 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN); in xgbe_get_all_hw_features()
|
/linux-4.4.14/arch/tile/include/hv/ |
D | drv_xgbe_intf.h | 342 uint8_t tso : 1; member 412 uint8_t tso : 1; member
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 1040 struct tso_t tso; in nicvf_sq_append_tso() local 1046 tso_start(skb, &tso); in nicvf_sq_append_tso() 1060 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in nicvf_sq_append_tso() 1072 size = min_t(int, tso.size, data_left); in nicvf_sq_append_tso() 1076 virt_to_phys(tso.data)); in nicvf_sq_append_tso() 1081 tso_build_data(skb, &tso, size); in nicvf_sq_append_tso()
|
D | q_struct.h | 541 u64 tso:1; member 573 u64 tso:1;
|
/linux-4.4.14/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 | 1323 txq->tso++; in t4vf_eth_xmit() 2477 txq->tso = 0; in t4vf_sge_alloc_eth_txq()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 1098 int tso; in fm10k_xmit_frame_ring() local 1125 tso = fm10k_tso(tx_ring, first); in fm10k_xmit_frame_ring() 1126 if (tso < 0) in fm10k_xmit_frame_ring() 1128 else if (!tso) in fm10k_xmit_frame_ring()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 259 u64 tso; member 317 s->tso += tx->tso; in collect_sge_port_stats()
|
D | cxgb4.h | 610 unsigned long tso; /* # of TSO requests */ member
|
D | sge.c | 1253 q->tso++; in t4_eth_xmit() 2689 txq->tso = txq->tx_cso = txq->vlan_ins = 0; in t4_sge_alloc_eth_txq()
|
D | cxgb4_debugfs.c | 2320 TL("TSO:", tso); in sge_qinfo_show()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1962 int tso; in i40e_xmit_frame_ring() local 1983 tso = i40e_tso(tx_ring, skb, &hdr_len, in i40e_xmit_frame_ring() 1986 if (tso < 0) in i40e_xmit_frame_ring() 1988 else if (tso) in i40e_xmit_frame_ring()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 842 struct tso_t tso; in txq_submit_tso() local 856 tso_start(skb, &tso); in txq_submit_tso() 869 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso() 877 size = min_t(int, tso.size, data_left); in txq_submit_tso() 878 ret = txq_put_data_tso(dev, txq, skb, tso.data, size, in txq_submit_tso() 884 tso_build_data(skb, &tso, size); in txq_submit_tso()
|
D | mvneta.c | 1678 struct tso_t tso; in mvneta_tx_tso() local 1692 tso_start(skb, &tso); in mvneta_tx_tso() 1704 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in mvneta_tx_tso() 1712 size = min_t(int, tso.size, data_left); in mvneta_tx_tso() 1715 tso.data, size, in mvneta_tx_tso() 1721 tso_build_data(skb, &tso, size); in mvneta_tx_tso()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/freescale/ |
D | fec_main.c | 699 struct tso_t tso; in fec_enet_txq_submit_tso() local 717 tso_start(skb, &tso); in fec_enet_txq_submit_tso() 729 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso() 737 size = min_t(int, tso.size, data_left); in fec_enet_txq_submit_tso() 743 tso.data, size, in fec_enet_txq_submit_tso() 750 tso_build_data(skb, &tso, size); in fec_enet_txq_submit_tso()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 2223 int tso = 0; in igbvf_xmit_frame_ring_adv() local 2258 tso = skb_is_gso(skb) ? in igbvf_xmit_frame_ring_adv() 2260 if (unlikely(tso < 0)) { in igbvf_xmit_frame_ring_adv() 2265 if (tso) in igbvf_xmit_frame_ring_adv()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2808 int tso; in i40e_xmit_frame_ring() local 2829 tso = i40e_tso(tx_ring, skb, &hdr_len, in i40e_xmit_frame_ring() 2832 if (tso < 0) in i40e_xmit_frame_ring() 2834 else if (tso) in i40e_xmit_frame_ring()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 3617 int tso; in ixgbevf_xmit_frame() local 3666 tso = ixgbevf_tso(tx_ring, first, &hdr_len); in ixgbevf_xmit_frame() 3667 if (tso < 0) in ixgbevf_xmit_frame() 3669 else if (!tso) in ixgbevf_xmit_frame()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2112 int tso; in atl1c_tx_map() local 2115 tso = (tpd->word1 >> TPD_LSO_EN_SHIFT) & TPD_LSO_EN_MASK; in atl1c_tx_map() 2116 if (tso) { in atl1c_tx_map()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 3118 int tso; in e1000_xmit_frame() local 3231 tso = e1000_tso(adapter, tx_ring, skb, protocol); in e1000_xmit_frame() 3232 if (tso < 0) { in e1000_xmit_frame() 3237 if (likely(tso)) { in e1000_xmit_frame()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2649 int tso; in qlge_send() local 2686 tso = ql_tso(skb, (struct ob_mac_tso_iocb_req *)mac_iocb_ptr); in qlge_send() 2687 if (tso < 0) { in qlge_send() 2690 } else if (unlikely(!tso) && (skb->ip_summed == CHECKSUM_PARTIAL)) { in qlge_send()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 7496 int tso; in ixgbe_xmit_frame_ring() local 7593 tso = ixgbe_fso(tx_ring, first, &hdr_len); in ixgbe_xmit_frame_ring() 7594 if (tso < 0) in ixgbe_xmit_frame_ring() 7601 tso = ixgbe_tso(tx_ring, first, &hdr_len); in ixgbe_xmit_frame_ring() 7602 if (tso < 0) in ixgbe_xmit_frame_ring() 7604 else if (!tso) in ixgbe_xmit_frame_ring()
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
D | tilepro.c | 1723 .tso = true, in tile_net_tx_tso()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4998 int tso; in igb_xmit_frame_ring() local 5051 tso = igb_tso(tx_ring, first, &hdr_len); in igb_xmit_frame_ring() 5052 if (tso < 0) in igb_xmit_frame_ring() 5054 else if (!tso) in igb_xmit_frame_ring()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5704 int tso; in e1000_xmit_frame() local 5778 tso = e1000_tso(tx_ring, skb, protocol); in e1000_xmit_frame() 5779 if (tso < 0) { in e1000_xmit_frame() 5784 if (tso) in e1000_xmit_frame()
|