cxgb4: Re-work the logic for mps refcounting
authorRaju Rangoju <rajur@chelsio.com>
Mon, 24 Jun 2019 17:35:32 +0000 (23:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 21:54:06 +0000 (14:54 -0700)
commit28b3870578ef403000c99d54c40fffb0210ff70d
treec22e817a4bf01737bf0f7041d49fbb4cc2d79300
parent0fec7e72ae1391bb2d7527efb54fe6ae88acabce
cxgb4: Re-work the logic for mps refcounting

Remove existing mps refcounting code which was
added only for encap filters and add necessary
data structures/functions to support mps reference
counting for all the mac filters. Also add wrapper
functions for allocating and freeing encap mac
filters.

Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/Makefile
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c [new file with mode: 0644]