diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2019-06-30 19:23:27 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2019-07-03 21:00:20 +0300 |
commit | 4e0e2ea1886afe8c001971ff767f6670312a9b04 (patch) | |
tree | 2c49440a718dbc3d179432c5aaf1400b54760f71 /include/linux/mlx5 | |
parent | 70a43d3fd4efba2de97152788df723c7812bb834 (diff) | |
download | linux-4e0e2ea1886afe8c001971ff767f6670312a9b04.tar.gz linux-4e0e2ea1886afe8c001971ff767f6670312a9b04.tar.bz2 linux-4e0e2ea1886afe8c001971ff767f6670312a9b04.zip |
net/mlx5: Report EQE data upon CQ completion
Report EQE data upon CQ completion to let upper layers use this data.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r-- | include/linux/mlx5/cq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mlx5/cq.h b/include/linux/mlx5/cq.h index e44157a2b7db..40748fc1b11b 100644 --- a/include/linux/mlx5/cq.h +++ b/include/linux/mlx5/cq.h @@ -47,7 +47,7 @@ struct mlx5_core_cq { struct completion free; unsigned vector; unsigned int irqn; - void (*comp) (struct mlx5_core_cq *); + void (*comp)(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe); void (*event) (struct mlx5_core_cq *, enum mlx5_event); u32 cons_index; unsigned arm_sn; @@ -55,7 +55,7 @@ struct mlx5_core_cq { int pid; struct { struct list_head list; - void (*comp)(struct mlx5_core_cq *); + void (*comp)(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe); void *priv; } tasklet_ctx; int reset_notify_added; |