diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2009-04-20 06:30:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-21 10:47:05 +0200 |
commit | 966508f7a591399a0b0dcfc0336e88480e5ed520 (patch) | |
tree | cc76e654db0aeac2c124c59cbfe98cdbc0eb5169 /drivers/net/mlx4/mlx4_en.h | |
parent | mlx4_en: Fix a race at restart task (diff) | |
download | linux-966508f7a591399a0b0dcfc0336e88480e5ed520.tar.xz linux-966508f7a591399a0b0dcfc0336e88480e5ed520.zip |
mlx4_en: Assign dummy event handler for TX queue
The low level driver always assumes this handler exists.
The lack of it could cause kernel panic
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index e9af32d41ca4..ef840abbcd39 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h @@ -538,6 +538,7 @@ int mlx4_en_poll_rx_cq(struct napi_struct *napi, int budget); void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, int is_tx, int rss, int qpn, int cqn, int srqn, struct mlx4_qp_context *context); +void mlx4_en_sqp_event(struct mlx4_qp *qp, enum mlx4_event event); int mlx4_en_map_buffer(struct mlx4_buf *buf); void mlx4_en_unmap_buffer(struct mlx4_buf *buf); |