]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Refactor set_pflag_cqe_based_moder
authorSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Sep 2021 06:26:17 +0000 (23:26 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:54 +0000 (16:22 -0800)
commitef50e7ec71aa861a3b351f6b9840ef22f6987bfb
treeab18bd8ce8eb2ab5198504c1977cfd7ccb082395
parent828287d560f494a690f03269d9ece29cf7200874
net/mlx5e: Refactor set_pflag_cqe_based_moder

Rearrange the code and use cqe_mode_to_period_mode() helper.

Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c