]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Modify set action limitation extension
authorHamdan Igbaria <hamdani@mellanox.com>
Tue, 24 Dec 2019 16:07:41 +0000 (18:07 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:28:32 +0000 (22:28 -0800)
commitf6060e2bf127d1bcbcd933582e3b662af9ac5c10
treec07755ae5520619494c1f748b42558855de038f6
parent236d309eca701df318d46004f3baeff2404c7395
net/mlx5: DR, Modify set action limitation extension

Modify set actions are not supported on both tx
and rx, added a check for that.
Also refactored the code in a way that every modify
action has his own functions, this needed so in the
future we could add copy action more smoothly.

Signed-off-by: Hamdan Igbaria <hamdani@mellanox.com>
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c