Home
last modified time | relevance | path

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

/linux-4.4.14/net/core/
Dtso.c15 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 …]
DMakefile12 sock_diag.o dev_ioctl.o tso.o
/linux-4.4.14/include/net/
Dtso.h16 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/
Dxgbe-desc.c500 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()
Dxgbe.h741 unsigned int tso; /* TCP Segmentation Offload */ member
Dxgbe-dev.c1399 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()
Dxgbe-drv.c542 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/
Ddrv_xgbe_intf.h342 uint8_t tso : 1; member
412 uint8_t tso : 1; member
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunvnet.h47 unsigned tso:1; member
Dsunvnet.c125 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/
Dnicvf_queues.c1040 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()
Dq_struct.h541 u64 tso:1; member
573 u64 tso:1;
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h260 unsigned long tso; /* # of TSO requests */ member
Dcxgb4vf_main.c1501 u64 tso; member
1591 stats->tso += txq->tso; in collect_sge_port_stats()
1926 T("TSO:", tso); in sge_qstats_show()
Dsge.c1323 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/
Dfm10k_main.c1098 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/
Dcxgb4_ethtool.c259 u64 tso; member
317 s->tso += tx->tso; in collect_sge_port_stats()
Dcxgb4.h610 unsigned long tso; /* # of TSO requests */ member
Dsge.c1253 q->tso++; in t4_eth_xmit()
2689 txq->tso = txq->tx_cso = txq->vlan_ins = 0; in t4_sge_alloc_eth_txq()
Dcxgb4_debugfs.c2320 TL("TSO:", tso); in sge_qinfo_show()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1962 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/
Ds2io.txt118 # ethtool -K <ethX> tso on
Dcxgb.txt85 ethtool -K <interface> tso off
89 ethtool -K <interface> tso on
Dixgb.txt417 "ethtool -K eth0 tso off" may resolve the problem.
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmv643xx_eth.c842 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()
Dmvneta.c1678 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/
Dixgb_main.c1520 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/
Dfec_main.c699 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/
Dnetdev.c2223 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/
Di40e_txrx.c2808 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/
Dixgbevf_main.c3617 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/
Datl1.c2364 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/
Datl1c_main.c2112 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/
Dnetxen_nic_main.c1884 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/
De1000_main.c3118 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/
Dqlge_main.c2649 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/
Dixgbe_main.c7496 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/
Dtilepro.c1723 .tso = true, in tile_net_tx_tso()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c4998 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/
Dnetdev.c5704 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()