diff options
| author | 2021-01-26 15:24:16 -0800 | |
|---|---|---|
| committer | 2021-01-27 19:53:53 -0800 | |
| commit | 5543e989fe5e2fe6a5829ee42c00152cac2bb8a0 (patch) | |
| tree | 0fd9ed5f2eaf808689db4f2767187d70af5fac21 /include/linux/timerqueue.h | |
| parent | net/mlx5e: Expose RX dma info helpers (diff) | |
| download | linux-dev-5543e989fe5e2fe6a5829ee42c00152cac2bb8a0.tar.xz linux-dev-5543e989fe5e2fe6a5829ee42c00152cac2bb8a0.zip | |
net/mlx5e: Add trap entity to ETH driver
Introduce mlx5e_trap which includes a dedicated RQ and NAPI for trapped
packets. Trap-RQ processes packets that were destined to be dropped,
but for debug and visibility sake these packets are trapped and reported
to devlink.
Trap-RQ connects between the HW and the driver and is not a part of a
channel. Open mlx5e_create_rq() and mlx5_core_destroy_rq() as API and
add dedicate RQ handlers which report to devlink of trapped packets.
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
