net/mlx5e: Remove duplicate code for user flow
authorParav Pandit <parav@nvidia.com>
Sat, 1 Jul 2023 22:19:29 +0000 (01:19 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Jul 2023 18:37:30 +0000 (11:37 -0700)
commit9ec85cc9c90e7cc2d91531132e9c1f1ebe067ce2
treec26e2aa6ea59e29b4d82ecd4741998a0bb709b07
parentb90ebfc018b087ba1e4981b298b58733236ff296
net/mlx5e: Remove duplicate code for user flow

Flow table and priority detection is same for IP user flows and other L4
flows. Hence, use same code for all these flow types.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c