/freebsd/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 1076 tso->tcph_off = tso->nh_off + 4 * tso_iph(tso)->ip_hl; in tso_start() 1173 tso->packet_space = tso->seg_size - in tso_fill_packet_with_fragment() 1177 (tso->packet_space != tso->seg_size); in tso_fill_packet_with_fragment() 1180 n = min(tso->in_len, tso->packet_space); in tso_fill_packet_with_fragment() 1248 if (tso->out_len > tso->seg_size) in tso_start_new_packet() 1261 tso->seqnum += tso->seg_size; in tso_start_new_packet() 1318 tso->seqnum += tso->seg_size; in tso_start_new_packet() 1319 if (tso->out_len > tso->seg_size) { in tso_start_new_packet() 1321 ip_length = tso->header_len - tso->nh_off + tso->seg_size; in tso_start_new_packet() 1325 ip_length = tso->header_len - tso->nh_off + tso->out_len; in tso_start_new_packet() [all …]
|
/freebsd/tools/tools/netrate/tcpp/ |
H A D | runit.pl | 36 my ($kernel, $tso, $lro, $mtu) = @_; 38 $prefix = "$kernel,$tso,$lro,$mtu"; 41 system("ssh root\@hydra1 ifconfig cxgb0 $tso $lro mtu $mtu"); 43 system("ssh root\@hydra2 ifconfig cxgb0 $tso $lro mtu $mtu"); 57 foreach $tso (@tso_options) { 60 test($kernel, $tso, $lro, $mtu);
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_nanosleep.c | 198 struct timespec tso, ts; in ATF_TC_BODY() local 217 tso.tv_sec = 5; in ATF_TC_BODY() 218 tso.tv_nsec = 0; in ATF_TC_BODY() 220 ts.tv_sec = tso.tv_sec; in ATF_TC_BODY() 221 ts.tv_nsec = tso.tv_nsec; in ATF_TC_BODY() 225 ATF_REQUIRE_MSG(timespeccmp(&ts, &tso, <=), in ATF_TC_BODY() 229 tso.tv_sec + tso.tv_nsec / 1e9); in ATF_TC_BODY() 233 tso.tv_sec = ts.tv_sec; in ATF_TC_BODY() 234 tso.tv_nsec = ts.tv_nsec; in ATF_TC_BODY()
|
/freebsd/usr.bin/script/ |
H A D | script.c | 553 struct timespec tsi, tso; in playback() local 585 tso.tv_sec = stamp.scr_sec; in playback() 586 tso.tv_nsec = stamp.scr_usec * 1000; in playback() 588 tsi = tso; in playback() 595 tsi = tso; in playback() 622 tsi.tv_sec = tso.tv_sec - tsi.tv_sec; in playback() 623 tsi.tv_nsec = tso.tv_nsec - tsi.tv_nsec; in playback() 630 tsi = tso; in playback()
|
/freebsd/sys/netinet/ |
H A D | tcp_output.c | 165 hhook_data.tso = tso; in hhook_run_tcp_est_out() 210 int tso, mtu; in tcp_default_output() local 276 tso = 0; in tcp_default_output() 565 tso = 1; in tcp_default_output() 905 if (tso) { in tcp_default_output() 961 tso = 0; in tcp_default_output() 994 tso = 0; in tcp_default_output() 1040 if (tso) { in tcp_default_output() 1100 tso = 0; in tcp_default_output() 1395 if (tso) { in tcp_default_output() [all …]
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 439 int tso; in ertt_add_tx_segment_info_hook() local 450 tso = thdp->tso; in ertt_add_tx_segment_info_hook() 461 if (tso) in ertt_add_tx_segment_info_hook()
|
/freebsd/tools/tools/net80211/scripts/ |
H A D | setup.wdsrelay | 26 ifconfig $WLAN_STA -tso -ampdu
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-drv.c | 177 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN); in xgbe_get_all_hw_features() 287 hw_feat->tso ? "yes" : "no"); in xgbe_get_all_hw_features()
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | tx.c | 1313 struct tso_t tso; in iwl_fill_data_tbs_amsdu() local 1356 tso_start(skb, &tso); in iwl_fill_data_tbs_amsdu() 1385 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_fill_data_tbs_amsdu() 1406 unsigned int size = min_t(unsigned int, tso.size, in iwl_fill_data_tbs_amsdu() 1410 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_fill_data_tbs_amsdu() 1417 trace_iwlwifi_dev_tx_tb(trans->dev, skb, tso.data, in iwl_fill_data_tbs_amsdu() 1421 tso_build_data(skb, &tso, size); in iwl_fill_data_tbs_amsdu()
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | qcom,ethqos.txt | 51 snps,tso;
|
H A D | toshiba,visconti-dwmac.yaml | 71 snps,tso;
|
H A D | qcom,ethqos.yaml | 98 snps,tso;
|
H A D | intel,dwmac-plat.yaml | 118 snps,tso;
|
H A D | starfive,jh7110-dwmac.yaml | 119 snps,tso;
|
H A D | stm32-dwmac.yaml | 130 snps,tso;
|
/freebsd/sys/dev/ice/ |
H A D | ice_iflib.h | 149 u64 tso; member
|
H A D | ice_common_txrx.h | 172 txq->tso++; in ice_tso_setup()
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | qp.c | 568 void *pdata = wr->tso.hdr; in set_tso_eth_seg() 571 if (unlikely(wr->tso.hdr_sz < MLX5_ETH_L2_MIN_HEADER_SIZE || in set_tso_eth_seg() 572 wr->tso.hdr_sz > qp->max_tso_header)) { in set_tso_eth_seg() 580 left = wr->tso.hdr_sz; in set_tso_eth_seg() 581 eseg->mss = htobe16(wr->tso.mss); in set_tso_eth_seg() 582 eseg->inline_hdr_sz = htobe16(wr->tso.hdr_sz); in set_tso_eth_seg()
|
/freebsd/sys/dev/e1000/ |
H A D | README | 328 # sysctl net.inet.tcp.tso=0 (or 1 to enable it) 334 # ifconfig em<interface_num> -tso 338 # ifconfig em<interface_num> tso 341 tso|-tso in the above command with tso4 or tso6. For example, to disable
|
/freebsd/sys/contrib/dev/iwlwifi/queue/ |
H A D | tx.c | 346 struct tso_t tso; in iwl_txq_gen2_build_amsdu() local 380 tso_start(skb, &tso); in iwl_txq_gen2_build_amsdu() 408 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu() 435 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu() 436 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_txq_gen2_build_amsdu() 439 tb_phys, tso.data, in iwl_txq_gen2_build_amsdu() 445 tso_build_data(skb, &tso, tb_len); in iwl_txq_gen2_build_amsdu()
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_iflib.h | 207 u64 tso; member
|
/freebsd/sys/dev/vnic/ |
H A D | q_struct.h | 559 uint64_t tso:1; member 594 uint64_t tso:1;
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_e82545.c | 1088 int desc, dtype, ntype, iovcnt, tcp, tso, paylen, seg, tiovcnt, pv; in e82545_transmit() local 1097 tso = 0; in e82545_transmit() 1184 tso = 1; in e82545_transmit() 1189 E1000_TXD_POPTS_IXSM || tso) { in e82545_transmit() 1201 E1000_TXD_POPTS_TXSM || tso) { in e82545_transmit() 1230 if (!tso) { in e82545_transmit() 1360 if (!tso) { in e82545_transmit()
|
/freebsd/sys/net/ |
H A D | if_vxlan.c | 157 counter_u64_t tso; member 2587 counter_u64_add(sc->vxl_stats.tso, 1); in vxlan_encap4() 2698 counter_u64_add(sc->vxl_stats.tso, 1); in vxlan_encap6() 2912 stats->tso = counter_u64_alloc(M_WAITOK); in vxlan_stats_alloc() 2913 if (stats->tso == NULL) in vxlan_stats_alloc() 2935 if (stats->tso != NULL) { in vxlan_stats_free() 2936 counter_u64_free(stats->tso); in vxlan_stats_free() 2937 stats->tso = NULL; in vxlan_stats_free() 3585 CTLFLAG_RD, &stats->tso, "# of times hardware assisted with TSO"); in vxlan_sysctl_setup()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl.h | 389 u64 tso; member
|