commit | 6ce71acdea24cb742b2929983ca32cb962301bef | [log] [tgz] |
---|---|---|
author | Rony Efraim <ronye@mellanox.com> | Thu Apr 25 05:22:25 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 26 23:29:13 2013 -0400 |
tree | 1aefcbfedf6d4913ea73c361283f87b2132f470e | |
parent | dc8142ea8906ea94a68734c1513b92b3f490fcd5 [diff] |
net/mlx4: Add reference counting to MAC registeration Add reference counting to the driver MAC registeration code. This would be needed for cases where a mac is registered from more than once, e.g when both the host and the VM driver register the same mac, the host for mac spoof protection purposes and the VM for its regular needs. Signed-off-by: Rony Efraim <ronye@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>