net/mlx4_en: Add steering rules after RSS creation
authorIdo Shamay <idos@mellanox.com>
Thu, 8 Oct 2015 14:14:01 +0000 (17:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:27:50 +0000 (07:27 -0700)
commitba4b87aedd7123df4e4cfd1ca4dcfe8a6d756511
tree9a4f9ec0ac3c5b1abac3a63c0115d636f30c499c
parentac6ea6e81a80172612e0c9ef93720f371b198918
net/mlx4_en: Add steering rules after RSS creation

Changed the receive control flow in a way that steering
rules are added only when the RSS object is already in RTR/RTS mode.
Some optimization features, which are enabled by the device firmware,
require this condition in order to be effective.

Signed-off-by: Ido Shamay <idos@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