cxgb4: free MQPRIO resources in shutdown path
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Tue, 31 Mar 2020 19:47:01 +0000 (01:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Apr 2020 18:16:43 +0000 (11:16 -0700)
commitcef8dac96bc108633f5090bb3a9988d734dc1ee0
tree8697579b477503bc606bd8dcfd09ce0645a5a3da
parent41aa8561ca3fc5748391f08cc5f3e561923da52c
cxgb4: free MQPRIO resources in shutdown path

Perform missing MQPRIO resource cleanup in PCI shutdown path. Also,
fix MQPRIO MSIX bitmap leak in resource cleanup.

Fixes: b1396c2bd675 ("cxgb4: parse and configure TC-MQPRIO offload")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.h