OSDN Git Service

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)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 9 Jan 2018 05:40:48 +0000 (07:40 +0200)
commit36e564b76f1862914ad32c35bab433e07da2ebf8
tree501cc641a06c496b8f5e1c8ae648abba484d5ae9
parent5c65c564c96266110bec58f42c505bff6d5564f7
net/mlx5e: IPoIB, Use correct timestamp in child receive flow

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>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c