net/mlx5e: Add CONFIG_MLX5_EN_ARFS for accelerated flow steering support
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / en_arfs.c
index d258bb6792713e8bc56bfc9be4c4c8b98f45aebe..45cdde694d20049af85391ffcc376438fadb921e 100644 (file)
@@ -30,8 +30,6 @@
  * SOFTWARE.
  */
 
  * SOFTWARE.
  */
 
-#ifdef CONFIG_RFS_ACCEL
-
 #include <linux/hash.h>
 #include <linux/mlx5/fs.h>
 #include <linux/ip.h>
 #include <linux/hash.h>
 #include <linux/mlx5/fs.h>
 #include <linux/ip.h>
@@ -738,4 +736,4 @@ int mlx5e_rx_flow_steer(struct net_device *dev, const struct sk_buff *skb,
        spin_unlock_bh(&arfs->arfs_lock);
        return arfs_rule->filter_id;
 }
        spin_unlock_bh(&arfs->arfs_lock);
        return arfs_rule->filter_id;
 }
-#endif
+