mlx4_core: use correct port for steering
authorEugenia Emantayev <eugenia@mellanox.co.il>
Mon, 6 Feb 2012 06:26:36 +0000 (06:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2012 17:10:11 +0000 (12:10 -0500)
commit4c41b3673759d096106e68bce586f103c51d4119
treeea208cb0bf16f6bf43fcb5bc93072d739b800368
parent4df99504065fcc75c70cde0aa4a342fb32c829b8
mlx4_core: use correct port for steering

Use port number for correct steering (list per port).
Before the fix all steering entries (for both physical ports)
were managed in first port structures, so we had leakage of resources
for port 2.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mcg.c