/freebsd-11-stable/tools/tools/netrate/tcpp/ |
H A D | runit.pl | 26 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"); 55 @lro_options = ("lro", "-lro"); 59 foreach $lro (@lro_options) { 61 test($kernel, $tso, $lro, $mtu);
|
/freebsd-11-stable/sys/dev/nxge/xgehal/ |
H A D | xgehal-device-fp.c | 698 __hal_lro_check_for_session_match(lro_t *lro, tcplro_t *tcp, iplro_t *ip) argument 702 if ((lro->ip_hdr->saddr != ip->saddr)) 706 if ((lro->ip_hdr->daddr != ip->daddr)) 710 if ((lro->tcp_hdr->source != tcp->source)) 714 if ((lro->tcp_hdr->dest != tcp->dest)) 738 * __hal_ip_lro_capable: Finds whether ip is lro capable. 774 * __hal_tcp_lro_capable: Finds whether tcp is lro capable. 779 __hal_tcp_lro_capable(iplro_t *ip, tcplro_t *tcp, lro_t *lro, int *ts_off) argument 809 if (lro == NULL) 825 if (lro 974 __hal_open_lro_session(u8 *buffer, iplro_t *ip, tcplro_t *tcp, lro_t **lro, xge_hal_device_t *hldev, xge_hal_lro_desc_t *ring_lro, int slot, u32 tcp_seg_len, int ts_off) argument 1029 __hal_get_lro_session(u8 *eth_hdr, iplro_t *ip, tcplro_t *tcp, lro_t **lro, xge_hal_dtr_info_t *ext_info, xge_hal_device_t *hldev, xge_hal_lro_desc_t *ring_lro, lro_t **lro_end3 ) argument 1180 __hal_lro_under_optimal_thresh(iplro_t *ip, tcplro_t *tcp, lro_t *lro, xge_hal_device_t *hldev) argument 1213 __hal_collapse_ip_hdr( iplro_t *ip, tcplro_t *tcp, lro_t *lro, xge_hal_device_t *hldev) argument 1235 __hal_collapse_tcp_hdr( iplro_t *ip, tcplro_t *tcp, lro_t *lro, xge_hal_device_t *hldev) argument 1254 __hal_append_lro(iplro_t *ip, tcplro_t **tcp, u32 *seg_len, lro_t *lro, xge_hal_device_t *hldev) argument 1301 lro_t *lro; local 1381 xge_hal_lro_close_session(lro_t *lro) argument 1400 lro_t *lro = &ring_lro->lro_pool[i]; local [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 136 data[index++] = priv->lro.lro_mgr.stats.aggregated; 137 data[index++] = priv->lro.lro_mgr.stats.flushed; 138 if (priv->lro.lro_mgr.stats.flushed) 139 data[index++] = priv->lro.lro_mgr.stats.aggregated / 140 priv->lro.lro_mgr.stats.flushed; 143 data[index++] = priv->lro.lro_mgr.stats.no_desc;
|
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_rx.c | 74 SYSCTL_NODE(_hw_sfxge, OID_AUTO, lro, CTLFLAG_RD, NULL, 77 #define SFXGE_LRO_PARAM(_param) SFXGE_PARAM(lro._param) 432 bucket = c->conn_hash & rxq->lro.conns_mask; 433 KASSERT(rxq->lro.conns_n[bucket] > 0, ("LRO: bucket fill level wrong")); 434 --rxq->lro.conns_n[bucket]; 435 TAILQ_REMOVE(&rxq->lro.conns[bucket], c, link); 436 TAILQ_INSERT_HEAD(&rxq->lro.free_conns, c, link); 447 KASSERT(LIST_EMPTY(&rxq->lro.active_conns), 450 rxq->lro.last_purge_ticks = now; 451 for (i = 0; i <= rxq->lro [all...] |
H A D | sfxge_rx.h | 170 struct sfxge_lro_state lro; member in struct:sfxge_rxq
|
/freebsd-11-stable/sys/dev/qlxge/ |
H A D | qls_isr.c | 134 struct lro_ctrl *lro; local 139 lro = &rxr->lro; 206 if (lro->lro_cnt && (tcp_lro_rx(lro, mp, 0) == 0)) { 234 struct lro_ctrl *lro; local 237 lro = &ha->rx_ring[cq_idx].lro; 289 tcp_lro_flush_all(lro);
|
H A D | qls_os.c | 1490 struct lro_ctrl *lro; local 1493 lro = &ha->rx_ring[i].lro; 1494 if (tcp_lro_init(lro)) { 1499 lro->ifp = ha->ifp; 1511 struct lro_ctrl *lro; local 1517 lro = &ha->rx_ring[i].lro; 1518 tcp_lro_free(lro);
|
H A D | qls_def.h | 178 struct lro_ctrl lro; member in struct:qla_rx_ring
|
/freebsd-11-stable/sys/dev/qlxgbe/ |
H A D | ql_isr.c | 71 struct lro_ctrl *lro; local 73 lro = &ha->hw.sds[sds_idx].lro; 180 tcp_lro_queue_mbuf(lro, mpf); 183 if (tcp_lro_rx(lro, mpf, 0)) 631 sgc.lro.payload_length = 634 sgc.lro.rss_hash = 637 sgc.lro.num_handles = 1; 638 sgc.lro.handle[0] = 642 sgc.lro 735 struct lro_ctrl *lro; local [all...] |
/freebsd-11-stable/sys/dev/qlxgb/ |
H A D | qla_isr.c | 54 struct lro_ctrl *lro) 140 if (lro->lro_cnt && (tcp_lro_rx(lro, mp, 0) == 0)) { 269 struct lro_ctrl *lro; local 287 lro = &hw->sds[sds_idx].lro; 307 qla_rx_intr(ha, (sdesc->data[0]), sds_idx, lro); 326 tcp_lro_flush_all(lro); 53 qla_rx_intr(qla_host_t *ha, uint64_t data, uint32_t sds_idx, struct lro_ctrl *lro) argument
|
H A D | qla_hw.c | 1148 ha->hw.flags.lro = 0; 1789 struct lro_ctrl *lro; local 1792 lro = &hw->sds[i].lro; 1793 if (tcp_lro_init(lro)) { 1798 lro->ifp = ha->ifp; 1811 struct lro_ctrl *lro; local 1817 lro = &hw->sds[i].lro; 1818 tcp_lro_free(lro); [all...] |
/freebsd-11-stable/sys/dev/nxge/include/ |
H A D | xgehal-device.h | 243 typedef struct lro { struct 948 __hal_tcp_lro_capable(iplro_t *ip, tcplro_t *tcp, lro_t *lro, int *ts_off); 955 __hal_get_lro_session(u8 *eth_hdr, iplro_t *ip, tcplro_t *tcp, lro_t **lro, 960 __hal_lro_under_optimal_thresh(iplro_t *ip, tcplro_t *tcp, lro_t *lro, 964 __hal_collapse_ip_hdr(iplro_t *ip, tcplro_t *tcp, lro_t *lro, 968 __hal_collapse_tcp_hdr(iplro_t *ip, tcplro_t *tcp, lro_t *lro, 972 __hal_append_lro(iplro_t *ip, tcplro_t **tcp, u32 *seg_len, lro_t *lro, 983 lro_t **lro, xge_hal_dtr_info_t *ext_info, 993 __hal_open_lro_session (u8 *buffer, iplro_t *ip, tcplro_t *tcp, lro_t **lro,
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_rx.c | 430 tcp_lro_queue_mbuf(&rq->lro, mb); 434 rq->lro.lro_cnt == 0 || 435 tcp_lro_rx(&rq->lro, mb, 0) != 0) { 493 tcp_lro_flush_all(&rq->lro);
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_txrx.c | 1371 struct lro_ctrl *lro = &rxr->lro; local 1508 int err = tcp_lro_init(lro); 1515 lro->ifp = vsi->ifp; 1582 ** - lro enqueue fails 1584 if (rxr->lro.lro_cnt != 0) 1585 if (tcp_lro_rx(&rxr->lro, m, 0) == 0) 1707 struct lro_ctrl *lro = &rxr->lro; local 1947 tcp_lro_flush_all(lro); [all...] |
/freebsd-11-stable/sys/dev/liquidio/base/ |
H A D | lio_droq.h | 337 struct lro_ctrl lro; member in struct:lio_droq
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | ix_txrx.c | 1361 struct lro_ctrl *lro = &rxr->lro; local 1456 int err = tcp_lro_init(lro); 1463 lro->ifp = adapter->ifp; 1521 tcp_lro_free(&rxr->lro); 1590 * - lro enqueue fails 1592 if (rxr->lro.lro_cnt != 0) 1593 if (tcp_lro_rx(&rxr->lro, m, 0) == 0) 1652 struct lro_ctrl *lro = &rxr->lro; local [all...] |
/freebsd-11-stable/sys/dev/xen/netfront/ |
H A D | netfront.c | 175 struct lro_ctrl lro; member in struct:netfront_rxq 1154 struct lro_ctrl *lro = &rxq->lro; local 1237 lro->lro_cnt == 0 || tcp_lro_rx(lro, m, 0)) { 1253 tcp_lro_flush_all(lro); 2056 tcp_lro_free(&np->rxq[i].lro); 2061 err = tcp_lro_init(&np->rxq[i].lro); 2068 np->rxq[i].lro.ifp = ifp;
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 4705 struct lro_ctrl *lro; local 4707 lro = &rxq->lro; 4939 tcp_lro_queue_mbuf(lro, mp); 4943 if (tcp_lro_rx(lro, mp, 0)) 5063 struct lro_ctrl *lro; local 5065 lro = &fp->rxq->lro; 5072 if (lro->lro_mbuf_count & ~1023) 5074 else if (lro 6244 struct lro_ctrl *lro; local 6447 struct lro_ctrl *lro; local 7570 struct lro_ctrl *lro; local [all...] |
/freebsd-11-stable/sys/dev/vnic/ |
H A D | nicvf_queues.c | 677 if ((rq->lro.lro_cnt != 0) && 678 (tcp_lro_rx(&rq->lro, mbuf, 0) == 0)) 743 struct lro_ctrl *lro; local 819 lro = &rq->lro; 820 tcp_lro_flush_all(lro); 1296 struct lro_ctrl *lro; local 1303 lro = &rq->lro; 1311 tcp_lro_free(lro); [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_rx.c | 504 /* Configure lro mngr */ 506 if (tcp_lro_init(&ring->lro)) 509 ring->lro.ifp = priv->dev; 578 tcp_lro_free(&ring->lro); 827 if (ring->lro.lro_cnt != 0 && 828 tcp_lro_rx(&ring->lro, mb, 0) == 0) 853 tcp_lro_flush_all(&ring->lro);
|
/freebsd-11-stable/sys/dev/liquidio/ |
H A D | lio_main.c | 1187 if (droq->lro.ifp) { 1188 tcp_lro_free(&droq->lro); 1189 droq->lro.ifp = NULL; 1199 struct lro_ctrl *lro; local 1205 lro = &droq->lro; 1206 ret = tcp_lro_init(lro); 1213 lro->ifp = ifp;
|
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_sge.c | 1544 sort_before_lro(struct lro_ctrl *lro) argument 1547 return (lro->lro_mbuf_max != 0); 1567 struct lro_ctrl *lro = &rxq->lro; local 1579 MPASS(sort_before_lro(lro)); 1582 tcp_lro_flush_all(lro); 1671 !sort_before_lro(lro) && 1673 tcp_lro_flush_inactive(lro, &lro_timeout); 1694 if (ndescs > 0 && lro->lro_mbuf_count > 8) { 1695 MPASS(sort_before_lro(lro)); 1940 struct lro_ctrl *lro = &rxq->lro; local [all...] |
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_ioctl.h | 111 int32_t lro; member in struct:ch_qset_params
|
/freebsd-11-stable/sys/dev/mxge/ |
H A D | if_mxge_var.h | 365 void mxge_lro_flush(struct mxge_slice_state *ss, struct lro_entry *lro);
|
/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_if.c | 1786 (rq->lro.lro_cnt != 0)) { 1788 if (tcp_lro_rx(&rq->lro, m, 0) == 0) { 1880 struct lro_ctrl *lro = &rq->lro; local 1886 tcp_lro_flush_all(lro); 1896 struct lro_ctrl *lro = NULL; local 1900 lro = &sc->rq[i]->lro; 1901 rc = tcp_lro_init(lro); 1906 lro 1916 struct lro_ctrl *lro = NULL; local [all...] |