]> www.infradead.org Git - users/jedix/linux-maple.git/commit
enic: add adaptive coalescing intr for intx and msi poll
authorSujith Sankar <ssujith@cisco.com>
Tue, 13 Oct 2015 09:42:52 +0000 (15:12 +0530)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 19 Oct 2015 20:39:00 +0000 (13:39 -0700)
commit019d2122ea2cfd8220da516cc7d15732456f84c5
treefd0d25977971f14bd5f46d17fe3f953af5f5bd85
parentb5e7cda27df988c43d45882bd4b2274e3a0ad025
enic: add adaptive coalescing intr for intx and msi poll

Adaptive interrupt coalescing is available for msix. This patch adds the support
for msi poll. Interface for adaptive interrupt coalescing is already added in
driver. We just did not enable it for legacy intr & msi.

enic_calc_int_moderation() & enic_set_int_moderation() are defined as static
after enic_poll. Since enic_poll needs it, move both of these function
definitions above enic_poll. No change in functionality.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c