]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4: Fixing Ethernet unicast packet steering
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Wed, 3 Aug 2011 23:38:59 +0000 (16:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Aug 2011 23:38:59 +0000 (16:38 -0700)
commitf5a787b91bd395092bb3e9abd980bcdbaa557e5e
tree1cdff1f3079cd5e449a94b29cd93c8e348ad6a21
parentcd0e1d77141c94074d5325ea1d4ea5c1abd0f6ff
mlx4: Fixing Ethernet unicast packet steering

For older FW versions, fixing the usage of per port Mac table.
For each port we must define the base QP number, which is passed
to the HW.
Setting the correct value in SET_PORT FW command to enable the steering.

Reported-by: Roland Dreier <roland@purestorage.com>
Tested-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_port.c
drivers/net/mlx4/main.c