Jiawei Wang 96b1f0273c net/mlx5: validate sample action
Add sample action validate function.

Sample Flow is supported in NIC-RX and FDB domains. For the NIC-RX
the Sample Flow action list must include the destination queue action.

Only NIC-RX domain supports the optional actions list. FDB doesn't
support any optional actions, the sampled packets is always forwarded
to the E-Switch manager port.

Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2020-10-16 19:48:18 +02:00
..
2020-09-18 18:55:06 +02:00
2020-10-16 19:48:18 +02:00
2020-09-18 18:55:06 +02:00
2020-10-09 13:17:42 +02:00
2020-09-18 18:55:06 +02:00