net/mlx5e: TC, Split pedit offloads verify from alloc_tc_pedit_action()
authorRoi Dayan <roid@nvidia.com>
Thu, 11 Nov 2021 07:09:23 +0000 (09:09 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Jan 2022 20:37:32 +0000 (12:37 -0800)
commit918ed7bf76267e43863205e0d61a949c301f367b
treecb29cb4aab1927cdcfde32c3443f0aa2db4b1601
parent09bf97923224fea7f3633648b64867a934d627f2
net/mlx5e: TC, Split pedit offloads verify from alloc_tc_pedit_action()

Split pedit verify part into a new subfunction for better
maintainability.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c