]> git.baikalelectronics.ru Git - kernel.git/commit
enic: remove #ifdef CONFIG_RFS_ACCEL around filter structures
authorGovindarajulu Varadarajan <_govind@gmx.com>
Mon, 21 Jul 2014 11:52:17 +0000 (17:22 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jul 2014 03:22:46 +0000 (20:22 -0700)
commit6171bb97212a1b58b96609f4f17f0c78c26a2dae
tree7c3c462982a83816159bc50007b8a5c803bde135
parent65496e612e1f39520313407489d6d58dbd5484b7
enic: remove #ifdef CONFIG_RFS_ACCEL around filter structures

This patch removes the #ifdef CONFIG_RFS_ACCEL around the classifier filter
structures. This makes the filter structures available when CONFIG_RFS_ACCEL = n.

Introduce enic_rfs_timer_start() & enic_rfs_timer_stop() to start/stop the
timer. These two functions are nop when CONFIG_RFS_ACCEL = n.

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