Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/net/core/
A Dtso.c15 if (!tso->ipv6) { in tso_build_hdr()
18 iph->id = htons(tso->ip_id); in tso_build_hdr()
20 tso->ip_id++; in tso_build_hdr()
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()
59 tso->next_frag_idx++; in tso_build_data()
69 tso->tlen = tlen; in tso_start()
72 tso->next_frag_idx = 0; in tso_start()
78 if ((tso->size == 0) && in tso_start()
[all …]
A DMakefile14 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
/linux-6.3-rc2/include/net/
A Dtso.h26 void tso_build_hdr(const struct sk_buff *skb, char *hdr, struct tso_t *tso,
28 void tso_build_data(const struct sk_buff *skb, struct tso_t *tso, int size);
29 int tso_start(struct sk_buff *skb, struct tso_t *tso);
/linux-6.3-rc2/tools/testing/selftests/net/
A Dgre_gso.sh130 ethtool -K veth0 tso off
135 ethtool -K veth0 tso on
A Dsetup_veth.sh15 ip netns exec "${ns_name}" ethtool -K "${ns_dev}" gro on tso off
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A 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()
/linux-6.3-rc2/drivers/net/ethernet/synopsys/
A 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()
A 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()
/linux-6.3-rc2/drivers/net/ethernet/sun/
A 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()
A Dsunvnet_common.h66 unsigned tso:1; member
/linux-6.3-rc2/arch/arm64/boot/dts/rockchip/
A Drk3588.dtsi31 snps,tso;
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc.c426 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_hdr_csum()
439 if (!tso->ipv6) { in enetc_tso_hdr_csum()
461 if (!tso->ipv6) in enetc_tso_complete_csum()
470 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_complete_csum()
486 struct tso_t tso; in enetc_map_tx_tso_buffs() local
492 hdr_len = tso_start(skb, &tso); in enetc_map_tx_tso_buffs()
510 tso_build_hdr(skb, hdr, &tso, data_len, total_len == 0); in enetc_map_tx_tso_buffs()
521 size = min_t(int, tso.size, data_len); in enetc_map_tx_tso_buffs()
533 csum2 = csum_partial(tso.data, size, 0); in enetc_map_tx_tso_buffs()
538 tso.data, size, in enetc_map_tx_tso_buffs()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/net/
A Dqcom,ethqos.txt51 snps,tso;
A Dtoshiba,visconti-dwmac.yaml71 snps,tso;
A Dintel,dwmac-plat.yaml118 snps,tso;
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/pcie/
A Dtx.c1304 struct tso_t tso; in iwl_fill_data_tbs_amsdu() local
1347 tso_start(skb, &tso); in iwl_fill_data_tbs_amsdu()
1376 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_fill_data_tbs_amsdu()
1397 unsigned int size = min_t(unsigned int, tso.size, in iwl_fill_data_tbs_amsdu()
1401 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_fill_data_tbs_amsdu()
1408 trace_iwlwifi_dev_tx_tb(trans->dev, skb, tso.data, in iwl_fill_data_tbs_amsdu()
1412 tso_build_data(skb, &tso, size); in iwl_fill_data_tbs_amsdu()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_txrx.c861 struct tso_t tso; in otx2_sq_append_tso() local
863 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso()
890 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso()
901 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso()
906 tso.next_frag_idx - 1, in otx2_sq_append_tso()
907 (u64)tso.data, hdr_len, in otx2_sq_append_tso()
912 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_qp.c564 u32 tso = 0, ufo = 0; in hinic_set_tso_inner_l4() local
567 tso = 1; in hinic_set_tso_inner_l4()
574 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(tso || ufo, TSO_FLAG); in hinic_set_tso_inner_l4()
578 HINIC_SQ_CTRL_SET(tso, QUEUE_INFO_TSO) | in hinic_set_tso_inner_l4()
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
A Dionic_stats.c131 IONIC_TX_STAT_DESC(tso),
168 stats->tx_tso += txstats->tso; in ionic_add_lif_txq_stats()
/linux-6.3-rc2/drivers/net/ethernet/google/gve/
A Dgve_desc_dqo.h62 u8 tso: 1; member
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/
A Dnicvf_queues.c1384 hdr->tso = 1; in nicvf_sq_add_hdr_subdesc()
1489 struct tso_t tso; in nicvf_sq_append_tso() local
1495 hdr_len = tso_start(skb, &tso); in nicvf_sq_append_tso()
1510 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in nicvf_sq_append_tso()
1522 size = min_t(int, tso.size, data_left); in nicvf_sq_append_tso()
1526 virt_to_phys(tso.data)); in nicvf_sq_append_tso()
1531 tso_build_data(skb, &tso, size); in nicvf_sq_append_tso()
A Dq_struct.h530 u64 tso:1; member
565 u64 tso:1;
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/queue/
A Dtx.c341 struct tso_t tso; in iwl_txq_gen2_build_amsdu() local
375 tso_start(skb, &tso); in iwl_txq_gen2_build_amsdu()
403 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu()
430 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu()
431 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_txq_gen2_build_amsdu()
434 tb_phys, tso.data, in iwl_txq_gen2_build_amsdu()
440 tso_build_data(skb, &tso, tb_len); in iwl_txq_gen2_build_amsdu()
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_txrx.c2432 int tso, count; in iavf_xmit_frame_ring() local
2484 tso = iavf_tso(first, &hdr_len, &cd_type_cmd_tso_mss); in iavf_xmit_frame_ring()
2486 if (tso < 0) in iavf_xmit_frame_ring()
2488 else if (tso) in iavf_xmit_frame_ring()
2492 tso = iavf_tx_enable_csum(skb, &tx_flags, &td_cmd, &td_offset, in iavf_xmit_frame_ring()
2494 if (tso < 0) in iavf_xmit_frame_ring()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Def100_nic.c202 netdev_features_t tso = NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_GSO_PARTIAL | in efx_ef100_init_datapath_caps() local
206 net_dev->features |= tso; in efx_ef100_init_datapath_caps()
207 net_dev->hw_features |= tso; in efx_ef100_init_datapath_caps()
208 net_dev->hw_enc_features |= tso; in efx_ef100_init_datapath_caps()

Completed in 57 milliseconds

1234