Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Increase total number of RX buffers on mul...
details: https://anonhg.NetBSD.org/src/rev/1ce0e88887f1
branches: trunk
changeset: 824570:1ce0e88887f1
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Jun 09 03:19:55 2017 +0000
description:
Increase total number of RX buffers on multiqueue.
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r d49ad5d70461 -r 1ce0e88887f1 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Fri Jun 09 01:17:25 2017 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Fri Jun 09 03:19:55 2017 +0000
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: head/sys/dev/ixgbe/ix_txrx.c 301538 2016-06-07 04:51:50Z sephe $*/
-/*$NetBSD: ix_txrx.c,v 1.24 2017/05/18 08:25:37 msaitoh Exp $*/
+/*$NetBSD: ix_txrx.c,v 1.25 2017/06/09 03:19:55 msaitoh Exp $*/
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -1510,7 +1510,8 @@
* or size of jumbo mbufs may have changed.
*/
ixgbe_jcl_reinit(&adapter->jcl_head, rxr->ptag->dt_dmat,
- 2 * adapter->num_rx_desc, adapter->rx_mbuf_sz);
+ (2 * adapter->num_rx_desc) * adapter->num_queues,
+ adapter->rx_mbuf_sz);
IXGBE_RX_LOCK(rxr);
Home |
Main Index |
Thread Index |
Old Index