cxgb4: insert IPv6 filter rules in next free region
authorRahul Kundu <rahul.kundu@chelsio.com>
Thu, 20 Aug 2020 11:01:36 +0000 (16:31 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2020 19:02:19 +0000 (12:02 -0700)
commit1e76a2ff317d0dd9db60b5d9bb6e8215c1513fa8
tree9cb01fc5696567abdfba6a0795f530e55a9e7d56
parente5b15f5af21afbdd9bf3045b2160bd13661023e8
cxgb4: insert IPv6 filter rules in next free region

IPv6 filters can occupy up to 4 slots and will exhaust HPFILTER
region much sooner. So, continue searching for free slots in the
HASH or NORMAL filter regions, as long as the rule's priority does
not conflict with existing rules in those regions.

Signed-off-by: Rahul Kundu <rahul.kundu@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c