]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Merge vports flow steering during LAG
authorAviv Heller <avivh@mellanox.com>
Sun, 18 Sep 2016 17:48:01 +0000 (20:48 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:20 +0000 (16:54 -0400)
commit79f1948d5d98fb7f74e06b74fad4bd1f9188d1ef
tree9d3793557bf583ecac486252087da4cf54bb9c6f
parent9acacdcb932c92d6a8ccce7554ac0b66a3c4faca
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>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h