]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Delete all hash and TCAM filters before resource cleanup
authorVishal Kulkarni <vishal@chelsio.com>
Fri, 26 Apr 2019 08:28:48 +0000 (13:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Apr 2019 02:25:37 +0000 (22:25 -0400)
commit7e6984b4180a0714d06695af468636bc79d4e7e9
tree405392d270c2be28d50f28d59099bb07e07c7580
parenta1993585360a55f41d0a491b82bccd33aac0967f
cxgb4: Delete all hash and TCAM filters before resource cleanup

During driver unload, hash/TCAM filter deletion doesn't wait for
completion.This patch deletes all the filters with completion before
clearing the resources.

Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c