Date: Thu, 23 Jun 2011 17:42:27 +0000 (UTC) From: Jack F Vogel <jfv@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r223482 - head/sys/dev/e1000 Message-ID: <201106231742.p5NHgREN010607@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jfv Date: Thu Jun 23 17:42:27 2011 New Revision: 223482 URL: http://svn.freebsd.org/changeset/base/223482 Log: Put back the global for rx processing due to popular demand. Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c ============================================================================== --- head/sys/dev/e1000/if_igb.c Thu Jun 23 17:30:34 2011 (r223481) +++ head/sys/dev/e1000/if_igb.c Thu Jun 23 17:42:27 2011 (r223482) @@ -346,6 +346,10 @@ TUNABLE_INT("hw.igb.hdr_split", &igb_hea static int igb_num_queues = 0; TUNABLE_INT("hw.igb.num_queues", &igb_num_queues); +/* How many packets rxeof tries to clean at a time */ +static int igb_rx_process_limit = 100; +TUNABLE_INT("hw.igb.rx_process_limit", &igb_rx_process_limit); + /********************************************************************* * Device identification routine * @@ -465,7 +469,7 @@ igb_attach(device_t dev) /* Sysctl for limiting the amount of work done in the taskqueue */ igb_set_sysctl_value(adapter, "rx_processing_limit", "max number of rx packets to process", - &adapter->rx_process_limit, 100); + &adapter->rx_process_limit, igb_rx_process_limit); /* * Validate number of transmit and receive descriptors. It
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106231742.p5NHgREN010607>