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

12

/freebsd-13-stable/sys/dev/sfxge/
H A Dsfxge_tx.c970 static const struct ip *tso_iph(const struct sfxge_tso_state *tso) argument
972 KASSERT(tso->protocol == htons(ETHERTYPE_IP),
974 return (const struct ip *)(tso->mbuf->m_data + tso->nh_off);
977 static __unused const struct ip6_hdr *tso_ip6h(const struct sfxge_tso_state *tso) argument
979 KASSERT(tso->protocol == htons(ETHERTYPE_IPV6),
981 return (const struct ip6_hdr *)(tso->mbuf->m_data + tso->nh_off);
984 static const struct tcphdr *tso_tcph(const struct sfxge_tso_state *tso) argument
986 return (const struct tcphdr *)(tso
1041 tso_start(struct sfxge_txq *txq, struct sfxge_tso_state *tso, const bus_dma_segment_t *hdr_dma_seg, struct mbuf *mbuf) argument
1152 tso_fill_packet_with_fragment(struct sfxge_txq *txq, struct sfxge_tso_state *tso) argument
1216 tso_start_new_packet(struct sfxge_txq *txq, struct sfxge_tso_state *tso, unsigned int *idp) argument
1368 struct sfxge_tso_state tso; local
[all...]
/freebsd-13-stable/tools/tools/netrate/tcpp/
H A Drunit.pl26 print OUTFILE "kernel,tso,lro,mtu,cores,trial,";
37 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");
54 @tso_options = ("tso", "-tso");
58 foreach $tso (@tso_options) {
61 test($kernel, $tso, $lro, $mtu);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c198 struct timespec tso, ts; local
217 tso.tv_sec = 5;
218 tso.tv_nsec = 0;
220 ts.tv_sec = tso.tv_sec;
221 ts.tv_nsec = tso.tv_nsec;
225 ATF_REQUIRE_MSG(timespeccmp(&ts, &tso, <=),
226 "errno=%d ts=%0.9f should be <= last tso=%0.9f\n",
229 tso.tv_sec + tso.tv_nsec / 1e9);
233 tso
[all...]
/freebsd-13-stable/tools/tools/net80211/scripts/
H A Dsetup.wdsrelay27 ifconfig $WLAN_STA -tso -ampdu
/freebsd-13-stable/usr.bin/script/
H A Dscript.c461 struct timespec tsi, tso; local
491 tso.tv_sec = stamp.scr_sec;
492 tso.tv_nsec = stamp.scr_usec * 1000;
499 tsi = tso;
516 tsi.tv_sec = tso.tv_sec - tsi.tv_sec;
517 tsi.tv_nsec = tso.tv_nsec - tsi.tv_nsec;
524 tsi = tso;
/freebsd-13-stable/sys/dev/ice/
H A Dice_iflib.h148 u64 tso; member in struct:ice_tx_queue
H A Dice_common_txrx.h173 txq->tso++;
/freebsd-13-stable/sys/netinet/khelp/
H A Dh_ertt.c286 * using tso or not. However, if the interface
289 * is not reason to be using tso, and it should
400 * from tso bulk transmission, so we
442 int tso; local
453 tso = thdp->tso;
464 if (tso)
/freebsd-13-stable/sys/dev/axgbe/
H A Dxgbe-drv.c179 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN);
289 hw_feat->tso ? "yes" : "no");
H A Dxgbe.h981 unsigned int tso; /* TCP Segmentation Offload */ member in struct:xgbe_hw_features
/freebsd-13-stable/sys/netinet/
H A Dtcp_output.c116 SYSCTL_INT(_net_inet_tcp, OID_AUTO, tso, CTLFLAG_VNET | CTLFLAG_RW,
164 struct tcpopt *to, uint32_t len, int tso)
173 hhook_data.tso = tso;
219 int tso, mtu; local
286 tso = 0;
568 tso = 1;
913 if (tso) {
969 tso = 0;
1002 tso
163 hhook_run_tcp_est_out(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to, uint32_t len, int tso) argument
[all...]
H A Dtcp_var.h749 int tso; member in struct:tcp_hhook_data
755 uint32_t len, int tso);
/freebsd-13-stable/contrib/ofed/libmlx5/
H A Dqp.c559 /* Copy tso header to eth segment with considering padding and WQE
568 void *pdata = wr->tso.hdr;
571 if (unlikely(wr->tso.hdr_sz < MLX5_ETH_L2_MIN_HEADER_SIZE ||
572 wr->tso.hdr_sz > qp->max_tso_header)) {
580 left = wr->tso.hdr_sz;
581 eseg->mss = htobe16(wr->tso.mss);
582 eseg->inline_hdr_sz = htobe16(wr->tso.hdr_sz);
/freebsd-13-stable/sys/dev/vnic/
H A Dq_struct.h561 uint64_t tso:1; member in struct:sq_hdr_subdesc
596 uint64_t tso:1;
/freebsd-13-stable/usr.sbin/bhyve/
H A Dpci_e82545.c1086 int desc, dtype, len, ntype, iovcnt, tlen, tcp, tso; local
1096 tso = 0;
1176 tso = 1;
1181 E1000_TXD_POPTS_IXSM || tso) {
1193 E1000_TXD_POPTS_TXSM || tso) {
1219 if (!tso) {
1341 if (!tso) {
/freebsd-13-stable/sys/dev/ixl/
H A Dixl.h406 u64 tso; member in struct:ixl_tx_queue
H A Dixl_txrx.c324 txr->que->tso++;
950 SYSCTL_ADD_UQUAD(ctx, queue_list, OID_AUTO, "tso",
951 CTLFLAG_RD, &(tx_que->tso),
/freebsd-13-stable/sys/net/
H A Dif_vxlan.c159 counter_u64_t tso; member in struct:vxlan_statistics
2566 counter_u64_add(sc->vxl_stats.tso, 1);
2678 counter_u64_add(sc->vxl_stats.tso, 1);
2877 stats->tso = counter_u64_alloc(M_WAITOK);
2878 if (stats->tso == NULL)
2900 if (stats->tso != NULL) {
2901 counter_u64_free(stats->tso);
2902 stats->tso = NULL;
3544 SYSCTL_ADD_COUNTER_U64(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "tso",
3545 CTLFLAG_RD, &stats->tso, "# o
[all...]
/freebsd-13-stable/sys/netinet6/
H A Dip6_output.c447 int sw_csum, tso; local
1128 tso = ((sw_csum & ifp->if_hwassist &
1132 tso = 0;
1145 if ((opt && (opt->ip6po_flags & IP6PO_DONTFRAG)) || tso)
1154 if (dontfrag && tlen > IN6_LINKMTU(ifp) && !tso) { /* Case 2-b. */
/freebsd-13-stable/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));
646 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_1, 0x00000000);
647 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_2, 0x00000000);
648 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_3, 0x00000000);
649 al_reg_write32(&adapter->ec_regs_base->tso.cache_table_data_4, 0x00000000);
668 al_reg_write32(&adapter->ec_regs_base->tso.cfg_add_0,
672 al_reg_write32(&adapter->ec_regs_base->tso.cfg_tunnel,
706 reg = al_reg_read32(&adapter->ec_regs_base->tso.in_cfg);
708 al_reg_write32(&adapter->ec_regs_base->tso.in_cfg, reg);
2281 const char *tso local
[all...]
H A Dal_hal_eth_ec_regs.h1005 struct al_ec_tso tso; /* [0xb00] */ member in struct:al_ec_regs
/freebsd-13-stable/sys/netinet/tcp_stacks/
H A Drack.c15090 int32_t slot, segsiz, max_val, tso = 0, error, flags, ulen = 0; local
15148 tso = 1;
15163 if ((tso) && (len + optlen > tp->t_maxseg)) {
15190 tso = 0;
15193 tso = 0;
15195 if ((tso == 0) && (len > segsiz))
15247 * shorten it to no longer need tso. Lets
15251 tso = 0;
15306 if (tso) {
15565 int32_t slot, segsiz, len, max_val, tso local
15999 int32_t tso, mtu; local
[all...]
H A Dbbr.c416 static int32_t bbr_hdwr_pace_adjust = 2; /* multipler when we calc the tso size */
1273 "Multiplier to calculated tso size?");
1979 bbr_log_msgsize_fail(struct tcp_bbr *bbr, struct tcpcb *tp, uint32_t len, uint32_t maxseg, uint32_t mtu, int32_t csum_flags, int32_t tso, uint32_t cts) argument
1985 log.u_bbr.flex1 = tso;
5751 * tso = seg * mss
5753 * tso = mss
5754 * if (tso > per-tcb-max)
5755 * tso = per-tcb-max
5757 * tso = max-tso (6
11967 int32_t tso, mtu; local
[all...]
/freebsd-13-stable/sys/dev/msk/
H A Dif_msk.c2633 int error, i, nseg, tso; local
2767 tso = 0;
2788 tso++;
2806 if (tso == 0 && (m->m_pkthdr.csum_flags & MSK_CSUM_FEATURES) != 0) {
2844 if (tso == 0)
/freebsd-13-stable/contrib/ofed/libibverbs/
H A Dverbs.h981 } tso; member in union:ibv_send_wr::__anon5609

Completed in 478 milliseconds

12