net/mlx5e: IPoIB, Use correct timestamp in child receive flow
authorFeras Daoud <ferasda@mellanox.com>
Tue, 31 Oct 2017 12:57:27 +0000 (14:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Apr 2018 10:31:10 +0000 (12:31 +0200)
commit1aa0564aae9e9269c1bc3de95f189fac4f2acc24
tree85a44b190297f4f88b41310af58730783e1bb0b3
parentd4beec7ede2aefbb4f5f2c02a9ca145c860fa41a
net/mlx5e: IPoIB, Use correct timestamp in child receive flow

[ Upstream commit 36e564b76f1862914ad32c35bab433e07da2ebf8 ]

The current implementation takes the child timestamp object from
the parent since the rq in mlx5i_complete_rx_cqe belongs to the parent.
This change fixes the issue by taking the correct timestamp.

Fixes: 7e7f4780c340 ("net/mlx5e: IPoIB, Use hash-table to map between QPN to child netdev")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c