cxgb4: Add flag tc_flower_initialized
Add flag tc_flower_initialized to indicate the completion if tc flower initialization. Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
8e326289e3
commit
a081e11536
@@ -539,6 +539,9 @@ void t4_cleanup_sched(struct adapter *adap)
|
||||
struct port_info *pi = netdev2pinfo(adap->port[j]);
|
||||
|
||||
s = pi->sched_tbl;
|
||||
if (!s)
|
||||
continue;
|
||||
|
||||
for (i = 0; i < s->sched_size; i++) {
|
||||
struct sched_class *e;
|
||||
|
||||
|
Reference in New Issue
Block a user