/freebsd-9.3-release/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-9.3-release/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-9.3-release/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 134 data[index++] = priv->lro.lro_mgr.stats.aggregated; 135 data[index++] = priv->lro.lro_mgr.stats.flushed; 136 if (priv->lro.lro_mgr.stats.flushed) 137 data[index++] = priv->lro.lro_mgr.stats.aggregated / 138 priv->lro.lro_mgr.stats.flushed; 141 data[index++] = priv->lro.lro_mgr.stats.no_desc;
|
/freebsd-9.3-release/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 238 lro = &ha->rx_ring[cq_idx].lro; 290 while((!SLIST_EMPTY(&lro->lro_active))) { 291 queued = SLIST_FIRST(&lro [all...] |
H A D | qls_os.c | 1494 struct lro_ctrl *lro; local 1497 lro = &ha->rx_ring[i].lro; 1498 if (tcp_lro_init(lro)) { 1503 lro->ifp = ha->ifp; 1515 struct lro_ctrl *lro; local 1521 lro = &ha->rx_ring[i].lro; 1522 tcp_lro_free(lro);
|
H A D | qls_def.h | 178 struct lro_ctrl lro; member in struct:qla_rx_ring
|
/freebsd-9.3-release/sys/dev/sfxge/ |
H A D | sfxge_rx.c | 379 bucket = c->conn_hash & rxq->lro.conns_mask; 380 KASSERT(rxq->lro.conns_n[bucket] > 0, ("LRO: bucket fill level wrong")); 381 --rxq->lro.conns_n[bucket]; 382 TAILQ_REMOVE(&rxq->lro.conns[bucket], c, link); 383 TAILQ_INSERT_HEAD(&rxq->lro.free_conns, c, link); 394 KASSERT(LIST_EMPTY(&rxq->lro.active_conns), 397 rxq->lro.last_purge_ticks = now; 398 for (i = 0; i <= rxq->lro.conns_mask; ++i) { 399 if (TAILQ_EMPTY(&rxq->lro.conns[i])) 402 c = TAILQ_LAST(&rxq->lro [all...] |
H A D | sfxge_rx.h | 168 struct sfxge_lro_state lro; member in struct:sfxge_rxq
|
/freebsd-9.3-release/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 288 lro = &hw->sds[sds_idx].lro; 308 qla_rx_intr(ha, (sdesc->data[0]), sds_idx, lro); 327 while((!SLIST_EMPTY(&lro->lro_active))) { 328 queued = SLIST_FIRST(&lro->lro_active); 329 SLIST_REMOVE_HEAD(&lro 53 qla_rx_intr(qla_host_t *ha, uint64_t data, uint32_t sds_idx, struct lro_ctrl *lro) argument [all...] |
H A D | qla_hw.c | 1094 ha->hw.flags.lro = 0; 1724 struct lro_ctrl *lro; local 1727 lro = &hw->sds[i].lro; 1728 if (tcp_lro_init(lro)) { 1733 lro->ifp = ha->ifp; 1746 struct lro_ctrl *lro; local 1752 lro = &hw->sds[i].lro; 1753 tcp_lro_free(lro); [all...] |
H A D | qla_hw.h | 719 struct lro_ctrl lro; member in struct:_qla_sds 733 lro :1, member in struct:_qla_hw::__anon8871
|
/freebsd-9.3-release/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-9.3-release/sys/dev/qlxgbe/ |
H A D | ql_isr.c | 596 sgc.lro.payload_length = 599 sgc.lro.rss_hash = 602 sgc.lro.num_handles = 1; 603 sgc.lro.handle[0] = 607 sgc.lro.flags |= Q8_LRO_COMP_TS; 610 sgc.lro.flags |= Q8_LRO_COMP_PUSH_BIT; 612 sgc.lro.l2_offset = 614 sgc.lro.l4_offset = 618 sgc.lro.vlan_tag = 630 desc_count, &sgc.lro [all...] |
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_rx.c | 292 /* Configure lro mngr */ 294 if (tcp_lro_init(&ring->lro)) 297 ring->lro.ifp = priv->dev; 337 tcp_lro_free(&ring->lro); 528 if (ring->lro.lro_cnt != 0 && 529 tcp_lro_rx(&ring->lro, mb, 0) == 0) 561 while ((queued = SLIST_FIRST(&ring->lro.lro_active)) != NULL) { 562 SLIST_REMOVE_HEAD(&ring->lro.lro_active, next); 563 tcp_lro_flush(&ring->lro, queued);
|
H A D | en_ethtool.c | 52 priv->port_stats.lro_aggregated += priv->rx_ring[i].lro.stats.aggregated; 53 priv->port_stats.lro_flushed += priv->rx_ring[i].lro.stats.flushed; 54 priv->port_stats.lro_no_desc += priv->rx_ring[i].lro.stats.no_desc;
|
/freebsd-9.3-release/sys/dev/oce/ |
H A D | oce_if.c | 1407 (rq->lro.lro_cnt != 0)) { 1409 if (tcp_lro_rx(&rq->lro, m, 0) == 0) { 1502 struct lro_ctrl *lro = &rq->lro; local 1509 while ((queued = SLIST_FIRST(&lro->lro_active)) != NULL) { 1510 SLIST_REMOVE_HEAD(&lro->lro_active, next); 1511 tcp_lro_flush(lro, queued); 1522 struct lro_ctrl *lro = NULL; local 1526 lro = &sc->rq[i]->lro; 1542 struct lro_ctrl *lro = NULL; local [all...] |
/freebsd-9.3-release/sys/dev/ixgbe/ |
H A D | ixv.c | 2901 struct lro_ctrl *lro = &rxr->lro; local 2992 int err = tcp_lro_init(lro); 2999 lro->ifp = adapter->ifp; 3145 struct lro_ctrl *lro = &rxr->lro; local 3148 tcp_lro_free(lro); 3237 ** - lro enqueue fails 3239 if (rxr->lro.lro_cnt != 0) 3240 if (tcp_lro_rx(&rxr->lro, 3299 struct lro_ctrl *lro = &rxr->lro; local 3892 struct lro_ctrl *lro; local [all...] |
H A D | ixgbe.c | 3979 struct lro_ctrl *lro = &rxr->lro; local 4072 int err = tcp_lro_init(lro); 4079 lro->ifp = adapter->ifp; 4270 struct lro_ctrl *lro = &rxr->lro; local 4273 tcp_lro_free(lro); 4348 ** - lro enqueue fails 4350 if (rxr->lro.lro_cnt != 0) 4351 if (tcp_lro_rx(&rxr->lro, 4407 struct lro_ctrl *lro = &rxr->lro; local 5498 struct lro_ctrl *lro = &rxr->lro; local [all...] |
/freebsd-9.3-release/sys/dev/cxgb/ |
H A D | cxgb_ioctl.h | 111 int32_t lro; member in struct:ch_qset_params
|
/freebsd-9.3-release/sys/dev/cxgbe/ |
H A D | t4_sge.c | 1367 struct lro_ctrl *lro = &rxq->lro; local 1370 while (!SLIST_EMPTY(&lro->lro_active)) { 1371 l = SLIST_FIRST(&lro->lro_active); 1372 SLIST_REMOVE_HEAD(&lro->lro_active, next); 1373 tcp_lro_flush(lro, l); 1606 struct lro_ctrl *lro = &rxq->lro; local 1648 tcp_lro_rx(lro, m0, 0) == 0) { 2432 rc = tcp_lro_init(&rxq->lro); [all...] |
/freebsd-9.3-release/sys/dev/mxge/ |
H A D | if_mxge_var.h | 356 void mxge_lro_flush(struct mxge_slice_state *ss, struct lro_entry *lro);
|
/freebsd-9.3-release/sys/dev/vxge/ |
H A D | vxge.c | 1000 struct lro_ctrl *lro = &vpath->lro; local 1086 if (vpath->lro_enable && vpath->lro.lro_cnt) { 1087 while ((queued = SLIST_FIRST(&lro->lro_active)) != NULL) { 1088 SLIST_REMOVE_HEAD(&lro->lro_active, next); 1089 tcp_lro_flush(lro, queued); 1099 if (vpath->lro_enable && vpath->lro.lro_cnt) { 1100 if (tcp_lro_rx(&vpath->lro, mbuf_up, 0) == 0) 2267 struct lro_ctrl *lro = NULL; local 2274 lro [all...] |
/freebsd-9.3-release/sys/dev/xen/netfront/ |
H A D | netfront.c | 972 struct lro_ctrl *lro = &np->xn_lro; local 1071 lro->lro_cnt == 0 || tcp_lro_rx(lro, m, 0)) { 1090 while (!SLIST_EMPTY(&lro->lro_active)) { 1091 queued = SLIST_FIRST(&lro->lro_active); 1092 SLIST_REMOVE_HEAD(&lro->lro_active, next); 1093 tcp_lro_flush(lro, queued);
|
/freebsd-9.3-release/sys/dev/e1000/ |
H A D | if_igb.c | 4237 struct lro_ctrl *lro = &rxr->lro; local 4352 error = tcp_lro_init(lro); 4359 lro->ifp = adapter->ifp; 4605 struct lro_ctrl *lro = &rxr->lro; local 4607 tcp_lro_free(lro); 4728 ** - lro enqueue fails 4730 if (rxr->lro.lro_cnt != 0) 4731 if (tcp_lro_rx(&rxr->lro, 4756 struct lro_ctrl *lro = &rxr->lro; local 5570 struct lro_ctrl *lro = &rxr->lro; local [all...] |
H A D | if_igb.h | 325 struct lro_ctrl lro; member in struct:rx_ring
|