]> 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)
commit892d6cd93a8b1f6b3d768f06f51b7de05fc48a99
treea4616ec6ea5b48ad355fa032218f0d56edddee50
parent7142b6fe7ad25a7158c89a583f90275a4d0573cd
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