Home
last modified time | relevance | path

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

12

/freebsd-12.1/sys/dev/sfxge/
H A Dsfxge_tx.c1083 tso->tcph_off = tso->nh_off + 4 * tso_iph(tso)->ip_hl; in tso_start()
1182 tso->packet_space = tso->seg_size - in tso_fill_packet_with_fragment()
1186 (tso->packet_space != tso->seg_size); in tso_fill_packet_with_fragment()
1189 n = min(tso->in_len, tso->packet_space); in tso_fill_packet_with_fragment()
1256 if (tso->out_len > tso->seg_size) in tso_start_new_packet()
1269 tso->seqnum += tso->seg_size; in tso_start_new_packet()
1326 tso->seqnum += tso->seg_size; in tso_start_new_packet()
1327 if (tso->out_len > tso->seg_size) { in tso_start_new_packet()
1329 ip_length = tso->header_len - tso->nh_off + tso->seg_size; in tso_start_new_packet()
1333 ip_length = tso->header_len - tso->nh_off + tso->out_len; in tso_start_new_packet()
[all …]
/freebsd-12.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c198 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-12.1/tools/tools/netrate/tcpp/
H A Drunit.pl37 my ($kernel, $tso, $lro, $mtu) = @_;
39 $prefix = "$kernel,$tso,$lro,$mtu";
42 system("ssh root\@hydra1 ifconfig cxgb0 $tso $lro mtu $mtu");
44 system("ssh root\@hydra2 ifconfig cxgb0 $tso $lro mtu $mtu");
58 foreach $tso (@tso_options) {
61 test($kernel, $tso, $lro, $mtu);
H A DREADME104 ifconfig cxgb0 -tso
/freebsd-12.1/usr.bin/script/
H A Dscript.c433 struct timespec tsi, tso; in playback() local
463 tso.tv_sec = stamp.scr_sec; in playback()
464 tso.tv_nsec = stamp.scr_usec * 1000; in playback()
471 tsi = tso; in playback()
485 tsi.tv_sec = tso.tv_sec - tsi.tv_sec; in playback()
486 tsi.tv_nsec = tso.tv_nsec - tsi.tv_nsec; in playback()
493 tsi = tso; in playback()
/freebsd-12.1/sys/netinet/
H A Dtcp_output.c154 struct tcpopt *to, uint32_t len, int tso) in hhook_run_tcp_est_out() argument
163 hhook_data.tso = tso; in hhook_run_tcp_est_out()
209 int tso, mtu; in tcp_output() local
268 tso = 0; in tcp_output()
549 tso = 1; in tcp_output()
866 if (tso) { in tcp_output()
921 tso = 0; in tcp_output()
954 tso = 0; in tcp_output()
1037 tso = 0; in tcp_output()
1293 if (tso) { in tcp_output()
[all …]
H A Dtcp_var.h659 int tso; member
665 uint32_t len, int tso);
/freebsd-12.1/sys/netinet/khelp/
H A Dh_ertt.c442 int tso; in ertt_add_tx_segment_info_hook() local
453 tso = thdp->tso; in ertt_add_tx_segment_info_hook()
464 if (tso) in ertt_add_tx_segment_info_hook()
/freebsd-12.1/tools/tools/net80211/scripts/
H A Dsetup.wdsrelay27 ifconfig $WLAN_STA -tso -ampdu
/freebsd-12.1/contrib/ofed/libmlx5/
H A Dqp.c568 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-12.1/usr.sbin/bhyve/
H A Dpci_e82545.c1083 int desc, dtype, len, ntype, iovcnt, tlen, tcp, tso; in e82545_transmit() local
1093 tso = 0; in e82545_transmit()
1173 tso = 1; in e82545_transmit()
1178 E1000_TXD_POPTS_IXSM || tso) { in e82545_transmit()
1190 E1000_TXD_POPTS_TXSM || tso) { in e82545_transmit()
1216 if (!tso) { in e82545_transmit()
1338 if (!tso) { in e82545_transmit()
/freebsd-12.1/sys/dev/vnic/
H A Dq_struct.h561 uint64_t tso:1; member
596 uint64_t tso:1;
/freebsd-12.1/sys/dev/e1000/
H A DREADME314 - sysctl net.inet.tcp.tso=0 (or 1 to enable it)
318 - ifconfig emX -tso
324 - ifconfig emX tso
/freebsd-12.1/sys/dev/ixl/
H A Dixl_txrx.c324 txr->que->tso++; in ixl_tso_setup()
948 CTLFLAG_RD, &(tx_que->tso), in ixl_add_queues_sysctls()
H A Dixl.h393 u64 tso; member
/freebsd-12.1/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c645 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_addr, i + (adapter->udma_id * 4)); in al_eth_adapter_init()
646 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_1, 0x00000000); in al_eth_adapter_init()
647 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_2, 0x00000000); in al_eth_adapter_init()
648 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_3, 0x00000000); in al_eth_adapter_init()
649 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_4, 0x00000000); in al_eth_adapter_init()
668 al_reg_write32(&adapter->ec_regs_base->tso.cfg_add_0, in al_eth_adapter_init()
672 al_reg_write32(&adapter->ec_regs_base->tso.cfg_tunnel, in al_eth_adapter_init()
706 reg = al_reg_read32(&adapter->ec_regs_base->tso.in_cfg); in al_eth_adapter_init()
708 al_reg_write32(&adapter->ec_regs_base->tso.in_cfg, reg); in al_eth_adapter_init()
2281 const char *tso = (pkt->flags & AL_ETH_TX_FLAGS_TSO) ? "TSO" : ""; in al_dump_tx_pkt() local
[all …]
/freebsd-12.1/sys/netinet6/
H A Dip6_output.c352 int sw_csum, tso; in ip6_output() local
931 tso = ((sw_csum & ifp->if_hwassist & CSUM_TSO) != 0) ? 1 : 0; in ip6_output()
934 tso = 0; in ip6_output()
947 if ((opt && (opt->ip6po_flags & IP6PO_DONTFRAG)) || tso) in ip6_output()
956 if (dontfrag && tlen > IN6_LINKMTU(ifp) && !tso) { /* case 2-b */ in ip6_output()
/freebsd-12.1/sys/dev/sio/
H A Dsio.c1457 int error, i, tso; in sysctl_siots() local
1459 for (i = 1, tso = siotso; i < tso; i++) { in sysctl_siots()
1467 if (i == tso - 1) in sysctl_siots()
/freebsd-12.1/sys/dev/axgbe/
H A Dxgbe.h677 unsigned int tso; /* TCP Segmentation Offload */ member
H A Dxgbe-drv.c407 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN); in xgbe_get_all_hw_features()
/freebsd-12.1/share/misc/
H A Diso639481 ts tso tso Tsonga
/freebsd-12.1/sys/gnu/dts/arm/
H A Dartpec6.dtsi304 snps,tso;
/freebsd-12.1/sys/netinet/tcp_stacks/
H A Drack.c7011 int32_t tso, mtu, would_have_fin = 0; in rack_output() local
7126 tso = 0; in rack_output()
7558 tso = 1; in rack_output()
7899 if (tso) { in rack_output()
7945 tso = 0; in rack_output()
7975 tso = 0; in rack_output()
8063 tso = 0; in rack_output()
8458 if (tso) { in rack_output()
8470 hhook_run_tcp_est_out(tp, th, &to, len, tso); in rack_output()
8784 if (tso) in rack_output()
/freebsd-12.1/sys/dev/msk/
H A Dif_msk.c2630 int error, i, nseg, tso; in msk_encap() local
2764 tso = 0; in msk_encap()
2785 tso++; in msk_encap()
2803 if (tso == 0 && (m->m_pkthdr.csum_flags & MSK_CSUM_FEATURES) != 0) { in msk_encap()
2841 if (tso == 0) in msk_encap()
/freebsd-12.1/sys/dev/cxgbe/
H A Dt4_sge.c4399 txpkt_len16(u_int nsegs, u_int tso) in txpkt_len16() argument
4408 if (tso) in txpkt_len16()
4419 txpkt_vm_len16(u_int nsegs, u_int tso) in txpkt_vm_len16() argument
4429 if (tso) in txpkt_vm_len16()
5631 txpkt_eo_len16(u_int nsegs, u_int immhdrs, u_int tso) in txpkt_eo_len16() argument
5644 if (tso) in txpkt_eo_len16()

12