aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/mlx5_ib.h
diff options
context:
space:
mode:
authorAviv Heller <avivh@mellanox.com>2016-09-18 20:48:01 +0300
committerDoug Ledford <dledford@redhat.com>2016-10-07 16:54:20 -0400
commit9ef9c640f4c5376189d8ca70f51a50a3d0b16914 (patch)
tree9d3793557bf583ecac486252087da4cf54bb9c6f /drivers/infiniband/hw/mlx5/mlx5_ib.h
parentIB/mlx5: Port events in RoCE now rely on netdev events (diff)
downloadlinux-dev-9ef9c640f4c5376189d8ca70f51a50a3d0b16914.tar.xz
linux-dev-9ef9c640f4c5376189d8ca70f51a50a3d0b16914.zip
IB/mlx5: Merge vports flow steering during LAG
This is done in two steps: 1) Issuing CREATE_VPORT_LAG in order to have Ethernet traffic from both ports arriving on PF0 root flowtable, so we will be able to catch all raw-eth traffic on PF0. 2) Creation of LAG demux flowtable in order to direct all non-raw-eth traffic back to its source port, assuring that normal Ethernet traffic "jumps" to the root flowtable of its RX port (non-LAG behavior). Signed-off-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/mlx5/mlx5_ib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h
index f8a62a643613..53e1f1dc0000 100644
--- a/drivers/infiniband/hw/mlx5/mlx5_ib.h
+++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h
@@ -158,6 +158,7 @@ struct mlx5_ib_flow_handler {
struct mlx5_ib_flow_db {
struct mlx5_ib_flow_prio prios[MLX5_IB_NUM_FLOW_FT];
struct mlx5_ib_flow_prio sniffer[MLX5_IB_NUM_SNIFFER_FTS];
+ struct mlx5_flow_table *lag_demux_ft;
/* Protect flow steering bypass flow tables
* when add/del flow rules.
* only single add/removal of flow steering rule could be done