]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:20:45 +0000 (09:20 +0800)
commit3ef89f954752264e402a08f255faf9b90776c92d
treeafebb4d7bf90681467cdd04b179715f217c8ed78
parent4e0292b910fcd5138164232af1dd08e4d34ea19a
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>
(cherry picked from commit 06fa0a883a01a34a0449ec116c5288c1d196b4b0)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/mlx4/en_port.c
drivers/net/mlx4/main.c