OSDN Git Service

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)
commitc966f7d55d00ece53742c4595607402c1d9384a6
tree605f6fd82be786342ff2707fd8d0dc69185fbf07
parent092297e09a0a9f7dcf27cf1ee430f42e16342651
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