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)
commit3d6f3cdf9bfe92c430674308db0f1c8655f2c11d
tree475548f69bd02cf60bf660d57293d2d4890b9cd8
parent6ffb6303426cee1c312bdc1117724f10b3078906
net/mlx5e: IPoIB, Fix RX checksum statistics update

Update the RX checksum only if the feature is enabled.

Fixes: 9d6bd752c63c ("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