mlx4_core: Add helper to move QP to ready-to-send
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Fri, 25 Apr 2008 21:52:32 +0000 (14:52 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Apr 2008 21:52:32 +0000 (14:52 -0700)
commited4d3c1061d6f367a4ef5e1656c25af3314fe2b7
tree93e627fa3d8f7b439625ffec5ccd390d100d67a1
parent38ae6a535470b959df67ded6798fc542bb212e19
mlx4_core: Add helper to move QP to ready-to-send

Avoid duplicating code in ethernet and FC modules.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/qp.c
include/linux/mlx4/qp.h