Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/net/core/
Dtso.c16 void tso_build_hdr(const struct sk_buff *skb, char *hdr, struct tso_t *tso, in tso_build_hdr() argument
19 int hdr_len = skb_transport_offset(skb) + tso->tlen; in tso_build_hdr()
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()
32 iph->payload_len = htons(size + tso->tlen); in tso_build_hdr()
35 if (tso->tlen != sizeof(struct udphdr)) { in tso_build_hdr()
38 put_unaligned_be32(tso->tcp_seq, &tcph->seq); in tso_build_hdr()
54 void tso_build_data(const struct sk_buff *skb, struct tso_t *tso, int size) in tso_build_data() argument
56 tso->tcp_seq += size; /* not worth avoiding this operation for UDP */ in tso_build_data()
[all …]
DMakefile13 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
/kernel/linux/linux-5.10/include/net/
Dtso.h20 void tso_build_hdr(const struct sk_buff *skb, char *hdr, struct tso_t *tso,
22 void tso_build_data(const struct sk_buff *skb, struct tso_t *tso, int size);
23 int tso_start(struct sk_buff *skb, struct tso_t *tso);
/kernel/linux/linux-5.10/scripts/gcc-plugins/
Darm_ssp_per_task_plugin.c75 int tso = 0; in plugin_init() local
95 tso = atoi(argv[i].value); in plugin_init()
109 sp_mask = ~((1U << (12 + tso)) - 1); in plugin_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c714 struct tso_t tso; in otx2_sq_append_tso() local
716 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso()
743 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso()
754 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso()
759 tso.next_frag_idx - 1, in otx2_sq_append_tso()
760 (u64)tso.data, hdr_len, in otx2_sq_append_tso()
765 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
435 hw_feat->tso = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
660 pdata->hw_feat.tso ? "YES" : "NO"); in xlgmac_print_all_hw_features()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet_common.c110 if (vio_version_after_eq(vio, 1, 7) && port->tso) { in sunvnet_send_attr_common()
173 port->tso &= !!(pkt->cflags & VNET_LSO_IPV4_CAPAB); in handle_attr_info()
175 port->tso = false; in handle_attr_info()
176 if (port->tso) { in handle_attr_info()
181 port->tso = false; in handle_attr_info()
383 if (port->tso && port->tsolen > port->rmtu) in vnet_rx_one()
1253 if (port->tso && gso_size < datalen) in vnet_handle_offloads()
1269 if (port->tso && gso_size < datalen) { in vnet_handle_offloads()
1287 if (port->tso && curr->len > dev->mtu) { in vnet_handle_offloads()
1712 port->tso = (port->vsw == 0); /* no tso in vsw, misbehaves in bridge */ in vnet_port_reset()
Dsunvnet_common.h66 unsigned tso:1; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c410 struct tso_t tso; in iwl_txq_gen2_build_amsdu() local
444 tso_start(skb, &tso); in iwl_txq_gen2_build_amsdu()
473 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu()
502 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu()
503 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_txq_gen2_build_amsdu()
506 tb_phys, tso.data, in iwl_txq_gen2_build_amsdu()
514 tso_build_data(skb, &tso, tb_len); in iwl_txq_gen2_build_amsdu()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dqcom,ethqos.txt49 snps,tso;
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c566 u32 tso = 0, ufo = 0; in hinic_set_tso_inner_l4() local
569 tso = 1; in hinic_set_tso_inner_l4()
576 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(tso || ufo, TSO_FLAG); in hinic_set_tso_inner_l4()
580 HINIC_SQ_CTRL_SET(tso, QUEUE_INFO_TSO) | in hinic_set_tso_inner_l4()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c1731 struct tso_t tso; in iwl_fill_data_tbs_amsdu() local
1774 tso_start(skb, &tso); in iwl_fill_data_tbs_amsdu()
1805 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_fill_data_tbs_amsdu()
1849 unsigned int size = min_t(unsigned int, tso.size, in iwl_fill_data_tbs_amsdu()
1854 skb_put_data(csum_skb, tso.data, size); in iwl_fill_data_tbs_amsdu()
1856 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_fill_data_tbs_amsdu()
1865 trace_iwlwifi_dev_tx_tb(trans->dev, skb, tso.data, in iwl_fill_data_tbs_amsdu()
1869 tso_build_data(skb, &tso, size); in iwl_fill_data_tbs_amsdu()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c1383 hdr->tso = 1; in nicvf_sq_add_hdr_subdesc()
1488 struct tso_t tso; in nicvf_sq_append_tso() local
1494 hdr_len = tso_start(skb, &tso); in nicvf_sq_append_tso()
1509 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in nicvf_sq_append_tso()
1521 size = min_t(int, tso.size, data_left); in nicvf_sq_append_tso()
1525 virt_to_phys(tso.data)); in nicvf_sq_append_tso()
1530 tso_build_data(skb, &tso, size); in nicvf_sq_append_tso()
Dq_struct.h530 u64 tso:1; member
565 u64 tso:1;
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c130 IONIC_TX_STAT_DESC(tso),
193 stats->tx_tso += txstats->tso; in ionic_get_lif_stats()
Dionic_lif.h24 u64 tso; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c2414 int tso, count; in iavf_xmit_frame_ring() local
2461 tso = iavf_tso(first, &hdr_len, &cd_type_cmd_tso_mss); in iavf_xmit_frame_ring()
2463 if (tso < 0) in iavf_xmit_frame_ring()
2465 else if (tso) in iavf_xmit_frame_ring()
2469 tso = iavf_tx_enable_csum(skb, &tx_flags, &td_cmd, &td_offset, in iavf_xmit_frame_ring()
2471 if (tso < 0) in iavf_xmit_frame_ring()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h156 bool tso; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1056 int tso; in fm10k_xmit_frame_ring() local
1083 tso = fm10k_tso(tx_ring, first); in fm10k_xmit_frame_ring()
1084 if (tso < 0) in fm10k_xmit_frame_ring()
1086 else if (!tso) in fm10k_xmit_frame_ring()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h261 unsigned long tso; /* # of TSO requests */ member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh34 ip netns exec "${ns1}" ethtool -K veth1 tso off
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3648 int tso, count; in i40e_xmit_frame_ring() local
3696 tso = i40e_tso(first, &hdr_len, &cd_type_cmd_tso_mss); in i40e_xmit_frame_ring()
3698 if (tso < 0) in i40e_xmit_frame_ring()
3700 else if (tso) in i40e_xmit_frame_ring()
3704 tso = i40e_tx_enable_csum(skb, &tx_flags, &td_cmd, &td_offset, in i40e_xmit_frame_ring()
3706 if (tso < 0) in i40e_xmit_frame_ring()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c252 u64 tso; member
293 s->tso += tx->tso; in collect_sge_port_stats()
306 s->tso += eohw_tx->tso; in collect_sge_port_stats()

123