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)
commit06fa0a883a01a34a0449ec116c5288c1d196b4b0
tree1cdff1f3079cd5e449a94b29cd93c8e348ad6a21
parent5be1334062a2f358dc65016b5181e6edbfe3bd1e
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