]> 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)
commit3d824cc3a98fa05fe05bf0cb8ab0cf88f119deaa
treec07755ae5520619494c1f748b42558855de038f6
parentacf4ff9eeffd95580a6826d1bf4a81c2121f9be2
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