Module Name:    src
Committed By:   yamaguchi
Date:           Wed Aug 19 09:07:57 UTC 2020

Modified Files:
        src/sys/dev/pci: if_ixl.c

Log Message:
Adjust the default descriptor sizes for ixl(4)

These decreasements has no impact for throughput
while forwarding 64-1518 byte packets.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/if_ixl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_ixl.c
diff -u src/sys/dev/pci/if_ixl.c:1.72 src/sys/dev/pci/if_ixl.c:1.73
--- src/sys/dev/pci/if_ixl.c:1.72	Wed Aug 19 09:03:50 2020
+++ src/sys/dev/pci/if_ixl.c	Wed Aug 19 09:07:57 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_ixl.c,v 1.72 2020/08/19 09:03:50 yamaguchi Exp $	*/
+/*	$NetBSD: if_ixl.c,v 1.73 2020/08/19 09:07:57 yamaguchi Exp $	*/
 
 /*
  * Copyright (c) 2013-2015, Intel Corporation
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.72 2020/08/19 09:03:50 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.73 2020/08/19 09:07:57 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -762,8 +762,8 @@ do {							\
 static bool		 ixl_param_nomsix = false;
 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 = 1024;
-static unsigned int	 ixl_param_rx_ndescs = 1024;
+static unsigned int	 ixl_param_tx_ndescs = 512;
+static unsigned int	 ixl_param_rx_ndescs = 256;
 
 static enum i40e_mac_type
 	    ixl_mactype(pci_product_id_t);

Reply via email to