]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit931160f2eab910141993119a2a6010cd5bfbf29d
tree9cb01fc5696567abdfba6a0795f530e55a9e7d56
parentf8aa3b25193dd4c54d8aac3f998056ee1f53c1c7
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