/linux/net/core/ |
A D | tso.c | 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() 57 tso->size -= size; in tso_build_data() 58 tso->data += size; in tso_build_data() 60 if ((tso->size == 0) && in tso_build_data() 67 tso->next_frag_idx++; in tso_build_data() 77 tso->tlen = tlen; in tso_start() 80 tso->next_frag_idx = 0; in tso_start() 86 if ((tso->size == 0) && in tso_start() [all …]
|
A D | built-in.a | 26 tso.o/
|
A D | Makefile | 13 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
|
A D | .built-in.a.cmd | 1 …tch.o net/core/filter.o net/core/sock_diag.o net/core/dev_ioctl.o net/core/tso.o net/core/sock_reu…
|
A D | .tso.o.cmd | 1 …tso.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarc… 3 source_net/core/tso.o := net/core/tso.c 5 deps_net/core/tso.o := \ 1475 include/net/tso.h \ 1477 net/core/tso.o: $(deps_net/core/tso.o) 1479 $(deps_net/core/tso.o):
|
/linux/include/net/ |
A D | tso.h | 20 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);
|
/linux/tools/testing/selftests/net/ |
A D | gre_gso.sh | 130 ethtool -K veth0 tso off 135 ethtool -K veth0 tso on
|
A D | setup_veth.sh | 15 ip netns exec "${ns_name}" ethtool -K "${ns_dev}" gro on tso off
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-desc.c | 532 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/drivers/net/ethernet/synopsys/ |
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()
|
A D | dwc-xlgmac-common.c | 181 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/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_txrx.c | 815 struct tso_t tso; in otx2_sq_append_tso() local 817 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso() 844 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso() 855 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso() 860 tso.next_frag_idx - 1, in otx2_sq_append_tso() 861 (u64)tso.data, hdr_len, in otx2_sq_append_tso() 866 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc.c | 413 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_hdr_csum() 426 if (!tso->ipv6) { in enetc_tso_hdr_csum() 448 if (!tso->ipv6) in enetc_tso_complete_csum() 457 if (tso->tlen != sizeof(struct udphdr)) { in enetc_tso_complete_csum() 473 struct tso_t tso; in enetc_map_tx_tso_buffs() local 479 hdr_len = tso_start(skb, &tso); in enetc_map_tx_tso_buffs() 497 tso_build_hdr(skb, hdr, &tso, data_len, total_len == 0); in enetc_map_tx_tso_buffs() 508 size = min_t(int, tso.size, data_len); in enetc_map_tx_tso_buffs() 520 csum2 = csum_partial(tso.data, size, 0); in enetc_map_tx_tso_buffs() 525 tso.data, size, in enetc_map_tx_tso_buffs() [all …]
|
/linux/drivers/net/ethernet/sun/ |
A D | sunvnet_common.c | 110 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 D | sunvnet_common.h | 66 unsigned tso:1; member
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
A D | tx.c | 1304 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/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_qp.c | 565 u32 tso = 0, ufo = 0; in hinic_set_tso_inner_l4() local 568 tso = 1; in hinic_set_tso_inner_l4() 575 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(tso || ufo, TSO_FLAG); in hinic_set_tso_inner_l4() 579 HINIC_SQ_CTRL_SET(tso, QUEUE_INFO_TSO) | in hinic_set_tso_inner_l4()
|
/linux/Documentation/devicetree/bindings/net/ |
A D | toshiba,visconti-dwmac.yaml | 70 snps,tso;
|
A D | qcom,ethqos.txt | 49 snps,tso;
|
/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
A D | tx.c | 339 struct tso_t tso; in iwl_txq_gen2_build_amsdu() local 373 tso_start(skb, &tso); in iwl_txq_gen2_build_amsdu() 401 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu() 428 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu() 429 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_txq_gen2_build_amsdu() 432 tb_phys, tso.data, in iwl_txq_gen2_build_amsdu() 438 tso_build_data(skb, &tso, tb_len); in iwl_txq_gen2_build_amsdu()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_stats.c | 131 IONIC_TX_STAT_DESC(tso), 169 stats->tx_tso += txstats->tso; in ionic_add_lif_txq_stats()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_queues.c | 1383 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()
|
/linux/arch/arm64/boot/dts/rockchip/ |
A D | rk3568.dtsi | 49 snps,tso;
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_txrx.c | 2408 int tso, count; in iavf_xmit_frame_ring() local 2455 tso = iavf_tso(first, &hdr_len, &cd_type_cmd_tso_mss); in iavf_xmit_frame_ring() 2457 if (tso < 0) in iavf_xmit_frame_ring() 2459 else if (tso) in iavf_xmit_frame_ring() 2463 tso = iavf_tx_enable_csum(skb, &tx_flags, &td_cmd, &td_offset, in iavf_xmit_frame_ring() 2465 if (tso < 0) in iavf_xmit_frame_ring()
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_desc_dqo.h | 62 u8 tso: 1; member
|