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)
commite3e5af33e6d64a36bce1dfd9f599649f539801de
tree7c3c462982a83816159bc50007b8a5c803bde135
parent1042cab8627a2d11491e8b0dd40c4dda3180285a
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