Viacheslav Ovsiienko 5e61bcdd24 net/mlx5: check metadata registers availability
The metadata registers reg_c provide support for TAG and
SET_TAG features. Although there are 8 registers are available
on the current mlx5 devices, some of them can be reserved.
The availability should be queried by iterative trial-and-error
implemented by mlx5_flow_discover_mreg_c() routine.

If reg_c is available, it can be regarded inclusively that
the extensive metadata support is possible. E.g. metadata
register copy action, supporting 16 modify header actions
(instead of 8 by default) preserving register across
different domains (FDB and NIC) and so on.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2019-11-11 14:23:01 +01:00
..
2019-10-23 16:43:10 +02:00
2019-11-06 11:55:24 +01:00
2019-11-08 23:15:04 +01:00
2019-10-23 16:43:10 +02:00
2019-10-27 22:03:06 +01:00
2019-11-08 23:15:05 +01:00
2019-10-25 19:23:23 +02:00
2019-10-23 16:43:10 +02:00
2019-11-08 15:23:41 +01:00
2019-11-08 23:15:04 +01:00
2019-10-25 19:00:22 +02:00
2019-10-25 19:23:22 +02:00
2019-11-08 15:34:10 +01:00
2019-11-08 23:15:04 +01:00
2019-10-23 16:43:08 +02:00
2019-10-07 15:00:57 +02:00
2019-10-23 16:43:08 +02:00
2019-10-23 16:43:08 +02:00