]> git.baikalelectronics.ru Git - kernel.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)
commitc846a11b1a139661de64619f8ec45f3111a0a793
tree6a7d56983bd0ee2b5610f4743384ca8e96ca0f9b
parentc94dfdf20a17523f59aec93db9d485da86761bde
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