commit | 95b6c6a519a300dc667960740ebd43b960b32883 | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Tue Mar 28 11:23:55 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Apr 07 01:21:27 2017 +0300 |
tree | c8a7be6203b79ab34ad4a7521118df39bea708d7 | |
parent | 84e11edb71dec60644e62a07b588777a604e1a00 [diff] |
net/mlx5e: Reuse alloc cq code for all CQs allocation Reuse the code for mlx5e_alloc_cq and mlx5e_alloc_drop_cq, as they have a similar flow. Prior to this patch, the CQEs in the "drop CQ" were not initialized, fixed it with the shared flow of alloc CQ. This is not a critical bug as the RQ connected to this CQ never moved to RTS, but still better to have this right. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>