]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-switch, Create a second level FDB flow table
authorChris Mi <chrism@mellanox.com>
Wed, 16 May 2018 08:42:52 +0000 (17:42 +0900)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 25 May 2018 21:11:00 +0000 (14:11 -0700)
commit7b548ef3ef5dd7af8d0c6a4e576395e9b353cb74
treed057dd5c836babd713863fc7eb3033cfc42d7c91
parent4b1f0c59114ff5321826aee05bc3abf8404bb4f5
net/mlx5: E-switch, Create a second level FDB flow table

If firmware supports the forward action with a destination list
that includes a flow table, create a second level FDB flow table.

This is going to be used for flow based mirroring under the switchdev
offloads mode.

Signed-off-by: Chris Mi <chrism@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c