/freebsd-current/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 968 static const struct ip *tso_iph(const struct sfxge_tso_state *tso) argument 970 KASSERT(tso->protocol == htons(ETHERTYPE_IP), 972 return (const struct ip *)(tso->mbuf->m_data + tso->nh_off); 975 static __unused const struct ip6_hdr *tso_ip6h(const struct sfxge_tso_state *tso) argument 977 KASSERT(tso->protocol == htons(ETHERTYPE_IPV6), 979 return (const struct ip6_hdr *)(tso->mbuf->m_data + tso->nh_off); 982 static const struct tcphdr *tso_tcph(const struct sfxge_tso_state *tso) argument 984 return (const struct tcphdr *)(tso 1039 tso_start(struct sfxge_txq *txq, struct sfxge_tso_state *tso, const bus_dma_segment_t *hdr_dma_seg, struct mbuf *mbuf) argument 1150 tso_fill_packet_with_fragment(struct sfxge_txq *txq, struct sfxge_tso_state *tso) argument 1214 tso_start_new_packet(struct sfxge_txq *txq, struct sfxge_tso_state *tso, unsigned int *idp) argument 1366 struct sfxge_tso_state tso; local [all...] |
/freebsd-current/tools/tools/netrate/tcpp/ |
H A D | runit.pl | 25 print OUTFILE "kernel,tso,lro,mtu,cores,trial,"; 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"); 53 @tso_options = ("tso", "-tso"); 57 foreach $tso (@tso_options) { 60 test($kernel, $tso, $lro, $mtu);
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_nanosleep.c | 198 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-current/tools/tools/net80211/scripts/ |
H A D | setup.wdsrelay | 26 ifconfig $WLAN_STA -tso -ampdu
|
/freebsd-current/usr.bin/script/ |
H A D | script.c | 553 struct timespec tsi, tso; local 585 tso.tv_sec = stamp.scr_sec; 586 tso.tv_nsec = stamp.scr_usec * 1000; 588 tsi = tso; 595 tsi = tso; 622 tsi.tv_sec = tso.tv_sec - tsi.tv_sec; 623 tsi.tv_nsec = tso.tv_nsec - tsi.tv_nsec; 630 tsi = tso;
|
/freebsd-current/sys/netinet/khelp/ |
H A D | h_ertt.c | 283 * using tso or not. However, if the interface 286 * is not reason to be using tso, and it should 397 * from tso bulk transmission, so we 439 int tso; local 450 tso = thdp->tso; 461 if (tso)
|
/freebsd-current/sys/dev/ice/ |
H A D | ice_iflib.h | 149 u64 tso; member in struct:ice_tx_queue
|
H A D | ice_common_txrx.h | 172 txq->tso++;
|
/freebsd-current/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) 165 hhook_data.tso = tso; 210 int tso, mtu; local 276 tso = 0; 565 tso = 1; 905 if (tso) { 961 tso = 0; 994 tso 155 hhook_run_tcp_est_out(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to, uint32_t len, int tso) argument [all...] |
H A D | tcp_var.h | 1148 int tso; member in struct:tcp_hhook_data 1154 uint32_t len, int tso);
|
/freebsd-current/sys/dev/axgbe/ |
H A D | xgbe-drv.c | 177 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN); 287 hw_feat->tso ? "yes" : "no");
|
H A D | xgbe.h | 979 unsigned int tso; /* TCP Segmentation Offload */ member in struct:xgbe_hw_features
|
/freebsd-current/contrib/ofed/libmlx5/ |
H A D | qp.c | 559 /* 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-current/sys/contrib/dev/iwlwifi/queue/ |
H A D | tx.c | 6 #include <net/tso.h> 346 struct tso_t tso; local 380 tso_start(skb, &tso); 408 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); 435 tb_len = min_t(unsigned int, tso.size, data_left); 436 tb_phys = dma_map_single(trans->dev, tso.data, 439 tb_phys, tso.data, 445 tso_build_data(skb, &tso, tb_len);
|
/freebsd-current/sys/contrib/dev/iwlwifi/pcie/ |
H A D | tx.c | 13 #include <net/tso.h> 1313 struct tso_t tso; local 1356 tso_start(skb, &tso); 1385 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); 1406 unsigned int size = min_t(unsigned int, tso.size, 1410 tb_phys = dma_map_single(trans->dev, tso.data, 1417 trace_iwlwifi_dev_tx_tb(trans->dev, skb, tso.data, 1421 tso_build_data(skb, &tso, size);
|
H A D | tx-gen2.c | 7 #include <net/tso.h>
|
/freebsd-current/sys/dev/iavf/ |
H A D | iavf_iflib.h | 207 u64 tso; member in struct:iavf_tx_queue
|
H A D | iavf_txrx_iflib.c | 302 txr->que->tso++;
|
/freebsd-current/sys/dev/vnic/ |
H A D | q_struct.h | 559 uint64_t tso:1; member in struct:sq_hdr_subdesc 594 uint64_t tso:1;
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | pci_e82545.c | 1088 int desc, dtype, ntype, iovcnt, tcp, tso, paylen, seg, tiovcnt, pv; local 1097 tso = 0; 1184 tso = 1; 1189 E1000_TXD_POPTS_IXSM || tso) { 1201 E1000_TXD_POPTS_TXSM || tso) { 1230 if (!tso) { 1360 if (!tso) {
|
/freebsd-current/sys/dev/ixl/ |
H A D | ixl.h | 389 u64 tso; member in struct:ixl_tx_queue
|
H A D | ixl_txrx.c | 323 txr->que->tso++; 947 SYSCTL_ADD_UQUAD(ctx, queue_list, OID_AUTO, "tso", 948 CTLFLAG_RD, &(tx_que->tso),
|
/freebsd-current/sys/net/ |
H A D | if_vxlan.c | 157 counter_u64_t tso; member in struct:vxlan_statistics 2602 counter_u64_add(sc->vxl_stats.tso, 1); 2713 counter_u64_add(sc->vxl_stats.tso, 1); 2935 stats->tso = counter_u64_alloc(M_WAITOK); 2936 if (stats->tso == NULL) 2958 if (stats->tso != NULL) { 2959 counter_u64_free(stats->tso); 2960 stats->tso = NULL; 3607 SYSCTL_ADD_COUNTER_U64(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "tso", 3608 CTLFLAG_RD, &stats->tso, "# o [all...] |
/freebsd-current/sys/netinet6/ |
H A D | ip6_output.c | 427 int sw_csum, tso; local 1136 tso = ((sw_csum & ifp->if_hwassist & 1140 tso = 0; 1151 if ((opt && (opt->ip6po_flags & IP6PO_DONTFRAG)) || tso) 1160 if (dontfrag && tlen > IN6_LINKMTU(ifp) && !tso) { /* Case 2-b. */
|
/freebsd-current/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)); 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...] |