net/mlx4_en: Limit the RFS filter IDs to be < RPS_NO_FILTER
authorAmir Vadai <amirv@mellanox.com>
Wed, 25 Jul 2012 21:21:16 +0000 (21:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2012 07:23:55 +0000 (00:23 -0700)
commitee64c0ee5180b3163b89e0d23b22126b5da088b1
treea9626e07fc17368cb2c04b96309cc094c58a3eae
parent5243e7bd98b2dfecef3acd82661b541905a86e7f
net/mlx4_en: Limit the RFS filter IDs to be < RPS_NO_FILTER

RFS filter id can't have the special value RPS_NO_FILTER,
need to skip it when allocating id's.

CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c