Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Tune number of Rx descriptors for ixl(4), ok'ed ...



details:   https://anonhg.NetBSD.org/src/rev/002793b12080
branches:  trunk
changeset: 369636:002793b12080
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Thu Aug 25 09:15:14 2022 +0000

description:
Tune number of Rx descriptors for ixl(4), ok'ed by yamaguchi@n.o.

In some tunneling measurement cases, that improve performance.
In other cases, that keep up performance.

diffstat:

 sys/dev/pci/if_ixl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4452fa246b0e -r 002793b12080 sys/dev/pci/if_ixl.c
--- a/sys/dev/pci/if_ixl.c      Thu Aug 25 08:20:19 2022 +0000
+++ b/sys/dev/pci/if_ixl.c      Thu Aug 25 09:15:14 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ixl.c,v 1.85 2022/06/17 06:26:00 yamaguchi Exp $    */
+/*     $NetBSD: if_ixl.c,v 1.86 2022/08/25 09:15:14 knakahara Exp $    */
 
 /*
  * Copyright (c) 2013-2015, Intel Corporation
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.85 2022/06/17 06:26:00 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.86 2022/08/25 09:15:14 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -718,7 +718,7 @@
 static int              ixl_param_stats_interval = IXL_STATS_INTERVAL_MSEC;
 static int              ixl_param_nqps_limit = IXL_QUEUE_NUM;
 static unsigned int     ixl_param_tx_ndescs = 512;
-static unsigned int     ixl_param_rx_ndescs = 256;
+static unsigned int     ixl_param_rx_ndescs = 512;
 
 static enum i40e_mac_type
            ixl_mactype(pci_product_id_t);



Home | Main Index | Thread Index | Old Index