]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add helper to get RQ WQE's head
authorAya Levin <ayal@mellanox.com>
Thu, 30 Apr 2020 10:36:26 +0000 (13:36 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 3 Jul 2020 04:05:17 +0000 (21:05 -0700)
commitb9a973219f3617b739f0e8de9859f6cc9cc5c893
treea4616ec6ea5b48ad355fa032218f0d56edddee50
parent2b0b0a77f97a9a572e8024d3595341fccec34eaf
net/mlx5e: Add helper to get RQ WQE's head

Add helper which retrieves the RQ WQE's head. Use this helper in RX
reporter diagnose callback.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/wq.h