net/mlx4_en: Implement ndo fdb functionality
authorYan Burman <yanb@mellanox.com>
Thu, 7 Feb 2013 02:25:27 +0000 (02:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2013 04:26:13 +0000 (23:26 -0500)
commit0ccddcd1c2d93ff58b42115f19a0976394208d06
tree3484f40c1db918f34f65aaf353b9059fef56bccc
parentcc5387f7346a9f35aaf7f35133666fa8acbcbde3
net/mlx4_en: Implement ndo fdb functionality

Add support for setting embedded switch fdb in case of SRIOV, by
implementing ndo_fdb_{add, del, dump}. This will allow to use
bridged configuration with multi-function. In order to add VM MAC
to the eSwitch fdb, the following command may be used over the relevant function interface:
bridge fdb add <MAC> permanent self dev <IFACE>

Signed-off-by: Yan Burman <yanb@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c