| /linux-6.15/net/core/ |
| H A D | tso.c | 15 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 …]
|
| H A D | Makefile | 14 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
|
| /linux-6.15/include/net/ |
| H A D | tso.h | 26 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.15/tools/testing/selftests/net/ |
| H A D | gre_gso.sh | 126 ethtool -K veth0 tso off 131 ethtool -K veth0 tso on
|
| H A D | setup_veth.sh | 19 ip netns exec "${ns_name}" ethtool -K "${ns_dev}" gro on tso off
|
| H A D | big_tcp.sh | 137 ip net exec $CLIENT_NS ethtool -K link0 tso $cli_tso 139 ip net exec $ROUTER_NS ethtool -K link2 tso $gw_tso
|
| /linux-6.15/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-desc.c | 537 unsigned int offset, tso, vlan, datalen, len; in xgbe_map_tx_skb() local 550 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 556 if ((tso && (packet->mss != ring->tx.cur_mss)) || in xgbe_map_tx_skb() 561 if (tso) { in xgbe_map_tx_skb()
|
| /linux-6.15/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-desc.c | 507 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()
|
| H A D | dwc-xlgmac-common.c | 179 if (pdata->hw_feat.tso) { in xlgmac_init() 433 hw_feat->tso = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 658 pdata->hw_feat.tso ? "YES" : "NO"); in xlgmac_print_all_hw_features()
|
| /linux-6.15/tools/testing/selftests/drivers/net/hw/ |
| H A D | Makefile | 23 tso.py \
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_singleq_txrx.c | 367 int csum, tso; in idpf_tx_singleq_frame() local 391 tso = idpf_tso(skb, &offload); in idpf_tx_singleq_frame() 392 if (tso < 0) in idpf_tx_singleq_frame() 399 if (tso || offload.cd_tunneling) in idpf_tx_singleq_frame() 406 if (tso) { in idpf_tx_singleq_frame()
|
| /linux-6.15/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_slow_start_slow-start-after-idle.pkt | 3 // This test expects tso size to be at least initial cwnd * mss
|
| H A D | tcp_slow_start_slow-start-after-win-update.pkt | 3 // This test expects tso size to be at least initial cwnd * mss
|
| H A D | tcp_nagle_https_client.pkt | 7 ethtool -K tun0 tso off gso off
|
| /linux-6.15/drivers/net/ethernet/sun/ |
| H A D | sunvnet_common.c | 111 if (vio_version_after_eq(vio, 1, 7) && port->tso) { in sunvnet_send_attr_common() 174 port->tso &= !!(pkt->cflags & VNET_LSO_IPV4_CAPAB); in handle_attr_info() 176 port->tso = false; in handle_attr_info() 177 if (port->tso) { in handle_attr_info() 182 port->tso = false; in handle_attr_info() 384 if (port->tso && port->tsolen > port->rmtu) in vnet_rx_one() 1254 if (port->tso && gso_size < datalen) in vnet_handle_offloads() 1270 if (port->tso && gso_size < datalen) { in vnet_handle_offloads() 1288 if (port->tso && curr->len > dev->mtu) { in vnet_handle_offloads() 1713 port->tso = (port->vsw == 0); /* no tso in vsw, misbehaves in bridge */ in vnet_port_reset()
|
| H A D | sunvnet_common.h | 66 unsigned tso:1; member
|
| /linux-6.15/Documentation/devicetree/bindings/net/ |
| H A D | toshiba,visconti-dwmac.yaml | 77 snps,tso;
|
| H A D | sophgo,sg2044-dwmac.yaml | 88 snps,tso;
|
| /linux-6.15/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_qp.c | 564 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.15/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | tx-gen2.c | 176 struct tso_t tso; in iwl_txq_gen2_build_amsdu() local 211 tso_start(skb, &tso); in iwl_txq_gen2_build_amsdu() 239 tso_build_hdr(skb, pos_hdr, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu() 264 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu() 272 tb_phys, tso.data, in iwl_txq_gen2_build_amsdu() 279 tso_build_data(skb, &tso, tb_len); in iwl_txq_gen2_build_amsdu()
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 523 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_hdr_csum() 536 if (!tso->ipv6) { in enetc_tso_hdr_csum() 558 if (!tso->ipv6) in enetc_tso_complete_csum() 567 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_complete_csum() 808 struct tso_t tso; in enetc_map_tx_tso_buffs() local 814 hdr_len = tso_start(skb, &tso); in enetc_map_tx_tso_buffs() 832 tso_build_hdr(skb, hdr, &tso, data_len, total_len == 0); in enetc_map_tx_tso_buffs() 843 size = min_t(int, tso.size, data_len); in enetc_map_tx_tso_buffs() 855 csum2 = csum_partial(tso.data, size, 0); in enetc_map_tx_tso_buffs() 860 tso.data, size, in enetc_map_tx_tso_buffs() [all …]
|
| /linux-6.15/arch/arm64/boot/dts/st/ |
| H A D | stm32mp233.dtsi | 69 snps,tso;
|
| H A D | stm32mp253.dtsi | 69 snps,tso;
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_txrx.c | 932 struct tso_t tso; in otx2_sq_append_tso() local 934 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso() 961 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso() 972 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso() 977 tso.next_frag_idx - 1, in otx2_sq_append_tso() 978 (u64)tso.data, hdr_len, in otx2_sq_append_tso() 983 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
|
| /linux-6.15/drivers/net/ethernet/google/gve/ |
| H A D | gve_desc_dqo.h | 62 u8 tso: 1; member
|