commit | 0eb08514fdbdcd16fd6870680cd638f203662e9d | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Thu Jun 25 11:29:41 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 25 02:06:26 2015 -0700 |
tree | bcc9ead3e02ca6b61bcb5f8e739e44c1b5a3d6d4 | |
parent | aefbef10e3ae6e2c6e3c54f906f10b34c73a2c66 [diff] |
net/mlx4_en: Release TX QP when destroying TX ring TX ring QP wasn't released at mlx4_en_destroy_tx_ring. Instead, the code used the deprecated base_tx_qpn field. Move TX QP release to mlx4_en_destroy_tx_ring and remove the base_tx_qpn field. Fixes: ddae0349fdb7 ('net/mlx4: Change QP allocation scheme') Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>