/freebsd/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 968 static const struct ip *tso_iph(const struct sfxge_tso_state *tso) in tso_iph() argument 970 KASSERT(tso->protocol == htons(ETHERTYPE_IP), in tso_iph() 972 return (const struct ip *)(tso->mbuf->m_data + tso->nh_off); in tso_iph() 975 static __unused const struct ip6_hdr *tso_ip6h(const struct sfxge_tso_state *tso) in tso_ip6h() argument 977 KASSERT(tso->protocol == htons(ETHERTYPE_IPV6), in tso_ip6h() 979 return (const struct ip6_hdr *)(tso->mbuf->m_data + tso->nh_off); in tso_ip6h() 982 static const struct tcphdr *tso_tcph(const struct sfxge_tso_state *tso) in tso_tcph() argument 984 return (const struct tcphdr *)(tso->mbuf->m_data + tso->tcph_off); in tso_tcph() 1039 static void tso_start(struct sfxge_txq *txq, struct sfxge_tso_state *tso, in tso_start() argument 1050 tso->fw_assisted = txq->tso_fw_assisted; in tso_start() [all …]
|
/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/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);
|
H A D | README | 104 ifconfig cxgb0 -tso
|
/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 | 110 SYSCTL_INT(_net_inet_tcp, OID_AUTO, tso, CTLFLAG_VNET | CTLFLAG_RW, 156 struct tcpopt *to, uint32_t len, int tso) in hhook_run_tcp_est_out() argument 165 hhook_data.tso = tso; in hhook_run_tcp_est_out() 208 int tso, mtu; in tcp_default_output() local 274 tso = 0; in tcp_default_output() 564 tso = 1; in tcp_default_output() 904 if (tso) { in tcp_default_output() 960 tso = 0; in tcp_default_output() 993 tso = 0; in tcp_default_output() 1039 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/dev/ice/ |
H A D | ice_iflib.h | 149 u64 tso; global() member
|
H A D | ice_common_txrx.h | 172 txq->stats.tso++; in ice_tso_setup()
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | tx.c | 15 #include <net/tso.h> 1929 struct tso_t tso; 1973 tso_start(skb, &tso); 2002 tso_build_hdr(skb, pos_hdr, &tso, data_left, !total_len); 2021 unsigned int size = min_t(unsigned int, tso.size, 2032 trace_iwlwifi_dev_tx_tb(trans->dev, skb, tso.data, 2037 tso_build_data(skb, &tso, size); 1313 struct tso_t tso; iwl_fill_data_tbs_amsdu() local
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | qcom,ethqos.txt | 51 snps,tso;
|
/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 |
|
/freebsd/sys/dev/gve/ |
H A D | gve_dqo.h | 123 uint8_t tso:1; member
|
/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/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3588.dtsi | 262 snps,tso;
|
/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 2602 counter_u64_add(sc->vxl_stats.tso, 1); in vxlan_encap4() 2713 counter_u64_add(sc->vxl_stats.tso, 1); in vxlan_encap6() 2932 stats->tso = counter_u64_alloc(M_WAITOK); in vxlan_stats_alloc() 2942 counter_u64_free(stats->tso); in vxlan_stats_alloc() 3578 SYSCTL_ADD_COUNTER_U64(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "tso", in vxlan_sysctl_setup() 3579 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
|
H A D | ixl_txrx.c | 323 txr->que->tso++; in ixl_tso_setup() 948 CTLFLAG_RD, &(tx_que->tso), in ixl_vsi_add_queues_stats()
|
/freebsd/sys/contrib/alpine-hal/eth/ |
H A D | al_hal_eth_main.c | 645 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 …]
|