/freebsd/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 121 "Bitmask of FW-assisted TSO allowed to use if supported by NIC firmware"); 366 * large number of descriptors for TSO. in sfxge_tx_qlist_post() 415 * If software TSO is used, we still need to copy packet header, in sfxge_tx_queue_mbuf() 828 ("TSO required on non-TCP packet")); in sfxge_parse_tx_packet() 833 ("TSO required on non-IP packet")); in sfxge_parse_tx_packet() 836 ("TSO required on non-TCP packet")); in sfxge_parse_tx_packet() 859 * generates TSO packets with RST flag. So, do not assert in sfxge_parse_tx_packet() 863 ("incompatible TCP flag 0x%x on TSO packet", in sfxge_parse_tx_packet() 938 * Software "TSO". Not quite as good as doing it in hardware, but 960 int fw_assisted; /* Use FW-assisted TSO */ [all …]
|
H A D | sfxge_tx.h | 48 /* Maximum size of TSO packet */ 52 * Maximum number of segments to be created for a TSO packet. 58 * TSO, the mbuf length may be just over 64K, divided into 2K mbuf
|
/freebsd/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/sys/dev/e1000/ |
H A D | README | 314 TSO 316 TSO (TCP Segmentation Offload) supports both IPv4 and IPv6. TSO can be disabled 319 NOTE: TSO requires Tx checksum, if Tx checksum is disabled, TSO will also be 322 NOTE: By default only PCI-Express adapters are ENABLED to do TSO. Others can be 323 enabled by the user at their own risk. TSO is not supported on 82547 or 326 To enable/disable TSO in the stack: 328 # sysctl net.inet.tcp.tso=0 (or 1 to enable it) 330 Doing this disables/enables TSO in the stack and affects all installed adapters. 332 To disable BOTH TSO IPv4 and IPv6: 334 # ifconfig em<interface_num> -tso [all …]
|
H A D | e1000_base.h | 84 #define E1000_ADVTXD_POPTS_ISCO_1ST 0x00000000 /* 1st TSO of iSCSI PDU */ 85 #define E1000_ADVTXD_POPTS_ISCO_MDL 0x00000800 /* Middle TSO of iSCSI PDU */ 86 #define E1000_ADVTXD_POPTS_ISCO_LAST 0x00001000 /* Last TSO of iSCSI PDU */ 87 /* 1st & Last TSO-full iSCSI PDU*/
|
/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() 226 "errno=%d ts=%0.9f should be <= last tso=%0.9f\n", 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/sys/dev/ice/ |
H A D | ice_common_txrx.h | 50 * ice_tso_detect_sparse - detect TSO packets with too many segments 53 * Hardware only transmits packets with a maximum of 8 descriptors. For TSO 59 * headers require (usually 1). Then we ensure that, for each TSO segment, its 106 /* Now check the data to make sure that each TSO segment is made up of in ice_tso_detect_sparse() 108 * be capable of performing TSO offload. in ice_tso_detect_sparse() 136 * ice_tso_setup - Setup a context descriptor to prepare for a TSO packet 141 * requires the TSO offload. Returns the index of the descriptor to use when 158 /* TSO MSS must not be less than 64 */ in ice_tso_setup() 172 txq->stats.tso++; in ice_tso_setup()
|
/freebsd/sys/net/ |
H A D | if_private.h | 149 * Network adapter TSO limits: 154 * or the "if_hw_tsomaxsegsize" field is zero the TSO segment 156 * there is no TSO limit. 158 * NOTE: The TSO limits should reflect the values used in the 165 u_int if_hw_tsomax; /* TSO maximum size in bytes */ 166 u_int if_hw_tsomaxsegcount; /* TSO maximum segment count */ 167 u_int if_hw_tsomaxsegsize; /* TSO maximum segment size in bytes */
|
/freebsd/sys/dev/gve/ |
H A D | gve_desc.h | 68 uint8_t l3_offset; /* TSO: 2 byte units to start of IPH */ 70 __be16 mss; /* TSO MSS */ 77 #define GVE_TXD_TSO (0x1 << 4) /* TSO with Host Address */ 85 /* GVE Transmit Descriptor Flags for TSO Segs */ 86 #define GVE_TXSF_IPV6 BIT(1) /* IPv6 TSO */
|
H A D | gve_dqo.h | 104 * Maximum number of data descriptors allowed per packet, or per-TSO segment. 112 "gve: bad tso parameters"); 123 uint8_t tso:1; member 132 * TX Native TSO Context DTYPE (0x05) 141 /* Max segment size in TSO excluding headers. */ 145 uint8_t header_len; /* Header length to use for TSO offload */
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 97 #define TXSI_TSO 0x01 /* TSO was used for this entry. */ 178 /* Temporarily disable TSO to aid a new measurement. */ in marked_packet_rtt() 283 * using tso or not. However, if the interface in ertt_packet_measurement_hook() 286 * is not reason to be using tso, and it should in ertt_packet_measurement_hook() 382 * transfer. Since TSO is only used on in ertt_packet_measurement_hook() 397 * from tso bulk transmission, so we in ertt_packet_measurement_hook() 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/sys/dev/igc/ |
H A D | igc_base.h | 56 #define IGC_ADVTXD_POPTS_ISCO_1ST 0x00000000 /* 1st TSO of iSCSI PDU */ 57 #define IGC_ADVTXD_POPTS_ISCO_MDL 0x00000800 /* Middle TSO of iSCSI PDU */ 58 #define IGC_ADVTXD_POPTS_ISCO_LAST 0x00001000 /* Last TSO of iSCSI PDU */ 59 /* 1st & Last TSO-full iSCSI PDU*/
|
/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 275 tso = 0; in tcp_default_output() 520 * TSO may only be used if we are in a pure bulk sending state. The in tcp_default_output() 522 * retransmits prevent using TSO. With TSO the TCP header is the same in tcp_default_output() 535 * of IPsec that way and can actually decide if TSO is ok. in tcp_default_output() 568 tso = 1; in tcp_default_output() 582 * - We have a full segment (or more with TSO) in tcp_default_output() [all …]
|
H A D | tcp_ratelimit.h | 184 * TSO size. I.E. in tcp_get_pacing_burst_size_w_divisor() 186 * tso = 2mss in tcp_get_pacing_burst_size_w_divisor() 188 * tso = min(bw/(div=1000), 64k) in tcp_get_pacing_burst_size_w_divisor() 204 /* We can't ever send more than 65k in a TSO */ in tcp_get_pacing_burst_size_w_divisor()
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_txrx_iflib.c | 113 * iavf_tso_detect_sparse - detect TSO packets with too many segments 118 * Hardware only transmits packets with a maximum of 8 descriptors. For TSO 124 * headers require (usually 1). Then we ensure that, for each TSO segment, its 249 * iavf_tso_setup - Setup TSO context descriptor 253 * Enable hardware segmentation offload (TSO) for a given packet by creating 276 * TSO MSS must not be less than 64; this prevents a in iavf_tso_setup() 292 /* Partial check for WRONG_SIZE MDD event (during TSO) */ in iavf_tso_setup() 302 txr->que->tso++; in iavf_tso_setup() 342 /* Set up the TSO/CSUM offload */ in iavf_isc_txd_encap() 344 /* Set up the TSO context descriptor if required */ in iavf_isc_txd_encap() [all …]
|
/freebsd/share/man/man4/ |
H A D | h_ertt.4 | 45 acknowledgements, TCP Segmentation Offload (TSO), receivers who manipulate TCP 58 When TSO is in use, 60 will momentarily disable TSO whilst marking a packet to use for a new
|
H A D | bxe.4 | 52 interrupts, TCP Segmentation Offload (TSO), Large Receive Offload (LRO), and 229 .It Va TSO - TCP Segmentation Offload 232 # ifconfig bxe# [ tso | -tso | tso6 | -tso6 ]
|
H A D | mlx5en.4 | 65 TCP segmentation offload (TSO), Large Receive Offload (LRO), 67 VLAN checksum offload, VLAN TSO, hardware rate limiting (TXRTLMT),
|
H A D | vtnet.4 | 53 TCP segmentation offload (TSO), TCP large receive offload (LRO), 75 This tunable disables TSO.
|
H A D | liquidio.4 | 57 offload, TCP segmentation offload (TSO), Large Receive Offload (LRO), 59 VLAN TSO, and Receive Side Steering (RSS)
|
/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/tools/tools/net80211/scripts/ |
H A D | setup.wdsrelay | 25 # no TSO in the bridge, no AMPDU until fw works right 26 ifconfig $WLAN_STA -tso -ampdu
|
/freebsd/sys/dev/mxge/ |
H A D | mxge_mcp.h | 348 /* Return data = the max. size of the entire headers of a IPv6 TSO packet. 349 * If the header size of a IPv6 TSO packet is larger than the specified 350 * value, then the driver must not use TSO. 351 * This size restriction only applies to IPv6 TSO. 352 * For IPv4 TSO, the maximum size of the headers is fixed, and the NIC 357 /* data0 = TSO mode.
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_txrx.c | 276 * Setup context for hardware segmentation offload (TSO) 297 * TSO MSS must not be less than 64; this prevents a in ixl_tso_setup() 313 /* Partial check for WRONG_SIZE MDD event (during TSO) */ in ixl_tso_setup() 323 txr->que->tso++; in ixl_tso_setup() 355 /* Set up the TSO/CSUM offload */ in ixl_isc_txd_encap() 357 /* Set up the TSO context descriptor if required */ in ixl_isc_txd_encap() 359 /* Prevent MAX_BUFF MDD event (for TSO) */ in ixl_isc_txd_encap() 947 SYSCTL_ADD_UQUAD(ctx, queue_list, OID_AUTO, "tso", in ixl_vsi_add_queues_stats() 948 CTLFLAG_RD, &(tx_que->tso), in ixl_vsi_add_queues_stats() 949 "TSO"); in ixl_vsi_add_queues_stats() [all …]
|
/freebsd/contrib/ofed/libibverbs/man/ |
H A D | ibv_query_device_ex.3 | 61 …uint32_t max_tso; /* Maximum payload size in bytes supported for segmentation by TSO engine… 62 uint32_t supported_qpts; /* Bitmap showing which QP types are supported by TSO operation. */
|