]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5: E-Switch, Refactor fast path FDB table creation in switchdev mode
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 15 Feb 2017 10:13:02 +0000 (12:13 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 22 Apr 2017 17:26:38 +0000 (20:26 +0300)
commit1967ce6ea5c8a03e5f963b639fe33ece60b2dc91
tree6a7d56983bd0ee2b5610f4743384ca8e96ca0f9b
parentf43e9b069aeaf0f3d51fa30ddc9c0003e86623b8
net/mlx5: E-Switch, Refactor fast path FDB table creation in switchdev mode

Refactor the creation of the fast path FDB table that holds the
offloaded rules in SRIOV switchdev mode into it's own function.

This will be used in the next patch to be able and re-create the
table under different settings without going through legacy mode.

This patch doesn't change any functionality.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c