]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net/mlx5e: Fail safe cqe compressing/moderation mode setting
authorSaeed Mahameed <saeedm@mellanox.com>
Sun, 12 Feb 2017 22:42:54 +0000 (00:42 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Mar 2017 12:08:22 +0000 (15:08 +0300)
commitbe7e87f92b5802df9302af7856990172091a385f
tree5adb9b7e2e015d472167376bceb6825e27281cfa
parent546f18ed3fb55a6689488993d03b5576982790c3
net/mlx5e: Fail safe cqe compressing/moderation mode setting

Use the new fail-safe channels switch mechanism to set new
CQE compressing and CQE moderation mode settings.

We also move RX CQE compression modify function out of en_rx file  to
a more appropriate place.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c