OSDN Git Service

net/mlx5: E-Switch, Pass metadata from FDB to eswitch manager
authorJianbo Liu <jianbol@mellanox.com>
Tue, 25 Jun 2019 17:48:07 +0000 (17:48 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 26 Jun 2019 19:01:29 +0000 (12:01 -0700)
commitc1286050cf47170fbce7edc3787ab577a882863b
tree4e9eacf247c3bd95bfc7ec808cd2e2520e675918
parent57843868700162922963baa69fc049a0256aeed2
net/mlx5: E-Switch, Pass metadata from FDB to eswitch manager

In order to do matching on metadata in slow path when demuxing traffic
to representors, explicitly enable the feature that allows HW to pass
metadata REG_C_0 from FDB to eswitch manager NIC_RX table.

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c