]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Allow reporting of checksum unnecessary
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 1 Jul 2018 08:58:38 +0000 (08:58 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 1 Oct 2018 18:32:47 +0000 (11:32 -0700)
commitf05d2cc3194ee4b2281bd85cda543208942dc1c1
tree7235c3962db022e76078c9bd584b4fd29b295a67
parent7868234539c60d06959054926ef3f3d553415314
net/mlx5e: Allow reporting of checksum unnecessary

Currently we practically never report checksum unnecessary, because
for all IP packets we take the checksum complete path.

Enable non-default runs with reprorting checksum unnecessary, using
an ethtool private flag. This can be useful for performance evals
and other explorations.

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