]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Provide flow dest when creating vport rx rule
authorGavi Teitz <gavi@mellanox.com>
Thu, 16 Aug 2018 21:28:53 +0000 (00:28 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 1 Oct 2018 18:32:43 +0000 (11:32 -0700)
commit3e5a5dca2d55cd3b29e2dd0b27281d029fa362ae
tree605f6fd82be786342ff2707fd8d0dc69185fbf07
parent0c26c464014467d8a030ed5f42458ddfbe70dd1f
net/mlx5: E-Switch, Provide flow dest when creating vport rx rule

Currently the destination for the representor e-switch rx rule is
a TIR number. Towards changing that to potentially be a flow table,
as part of enabling RSS for representors, modify the signature of
the related e-switch API to get a flow destination.

Signed-off-by: Gavi Teitz <gavi@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c