]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Fix RX checksum statistics update
authorFeras Daoud <ferasda@mellanox.com>
Mon, 14 Jan 2019 15:34:28 +0000 (17:34 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 11 Mar 2019 18:32:40 +0000 (11:32 -0700)
commitb9ffa77222e3524858906c897ecfe3c3dd5cd0d6
tree475548f69bd02cf60bf660d57293d2d4890b9cd8
parent75a966443b91c3e64b41b0811366a3b62b557244
net/mlx5e: IPoIB, Fix RX checksum statistics update

Update the RX checksum only if the feature is enabled.

Fixes: 496d324e1942 ("net/mlx5e: IPoIB, RX handler")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c