a0163693bc
Control queues can not be allocated for VFs. So, add check to only allocate control queues for PFs. This fixes adapter crash when an attempt is made to allocate control queues for VFs. Fixes: 3a3aaabc ("net/cxgbe: add control queue to communicate filter requests") Signed-off-by: Shagun Agrawal <shaguna@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>