]> 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)
commit574a0ceaf98eb4b5fdb7410e6e84d49fdb74f6ab
tree6a7d56983bd0ee2b5610f4743384ca8e96ca0f9b
parent94dd77ad4253f9f951225b9faeb66350e0ee6e98
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