Home
last modified time | relevance | path

Searched refs:tso (Results 1 - 25 of 130) sorted by relevance

123456

/kernel/linux/linux-5.10/net/core/
H A Dtso.c5 #include <net/tso.h>
16 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, in argument
72 tso_start(struct sk_buff *skb, struct tso_t *tso) tso_start() argument
[all...]
H A DMakefile13 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
/kernel/linux/linux-6.6/net/core/
H A Dtso.c5 #include <net/tso.h>
8 void tso_build_hdr(const struct sk_buff *skb, char *hdr, struct tso_t *tso, in tso_build_hdr() argument
11 int hdr_len = skb_transport_offset(skb) + tso->tlen; in tso_build_hdr()
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()
24 iph->payload_len = htons(size + tso->tlen); in tso_build_hdr()
27 if (tso->tlen != sizeof(struct udphdr)) { in tso_build_hdr()
30 put_unaligned_be32(tso->tcp_seq, &tcph->seq); in tso_build_hdr()
46 void tso_build_data(const struct sk_buff *skb, struct tso_t *tso, in argument
64 tso_start(struct sk_buff *skb, struct tso_t *tso) tso_start() argument
[all...]
H A DMakefile14 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
/kernel/linux/linux-5.10/include/net/
H A 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-6.6/include/net/
H 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);
/kernel/linux/linux-5.10/scripts/gcc-plugins/
H A Darm_ssp_per_task_plugin.c75 int tso = 0; in plugin_init() local
94 if (!strcmp(argv[i].key, "tso")) { in plugin_init()
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/
H A Dotx2_txrx.c13 #include <net/tso.h>
712 struct tso_t tso; in otx2_sq_append_tso() local
714 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso()
741 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso()
752 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso()
757 tso.next_frag_idx - 1, in otx2_sq_append_tso()
758 (u64)tso.data, hdr_len, in otx2_sq_append_tso()
763 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
H 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()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dsetup_veth.sh15 ip netns exec "${ns_name}" ethtool -K "${ns_dev}" gro on tso off
H A Dgre_gso.sh130 ethtool -K veth0 tso off
135 ethtool -K veth0 tso on
H A Dbig_tcp.sh137 ip net exec $CLIENT_NS ethtool -K link0 tso $cli_tso
139 ip net exec $ROUTER_NS ethtool -K link2 tso $gw_tso
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/
H A Dtx.c51 #include <net/tso.h>
410 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/drivers/net/ethernet/synopsys/
H 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H 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 in vnet_port_reset()
[all...]
H A Dsunvnet_common.h66 unsigned tso:1; member
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
H A Dsunvnet_common.c111 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 in vnet_port_reset()
[all...]
H A Dsunvnet_common.h66 unsigned tso:1; member
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
H A Denetc.c12 #include <net/tso.h>
427 static __wsum enetc_tso_hdr_csum(struct tso_t *tso, struct sk_buff *skb, in enetc_tso_hdr_csum() argument
433 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_hdr_csum()
446 if (!tso->ipv6) { in enetc_tso_hdr_csum()
458 static void enetc_tso_complete_csum(struct enetc_bdr *tx_ring, struct tso_t *tso, in enetc_tso_complete_csum() argument
468 if (!tso->ipv6) in enetc_tso_complete_csum()
477 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_complete_csum()
493 struct tso_t tso; in enetc_map_tx_tso_buffs() local
499 hdr_len = tso_start(skb, &tso); in enetc_map_tx_tso_buffs()
517 tso_build_hdr(skb, hdr, &tso, data_le in enetc_map_tx_tso_buffs()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx.c69 #include <net/tso.h>
1731 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-6.6/drivers/net/ethernet/google/gve/
H A Dgve_desc_dqo.h62 u8 tso: 1; member
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A 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-6.6/drivers/net/ethernet/huawei/hinic/
H 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()

Completed in 21 milliseconds

123456