net: dsa: bcm_sf2: Add support for IPv6 CFP rules
Inserting IPv6 CFP rules complicates the code a little bit in that we need to insert two rules side by side and chain them to match a full IPv6 tuple (src, dst IPv6 + port + protocol). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
4daa70cfb6
commit
ba0696c22e
@@ -54,6 +54,7 @@ struct bcm_sf2_cfp_priv {
|
||||
/* Mutex protecting concurrent accesses to the CFP registers */
|
||||
struct mutex lock;
|
||||
DECLARE_BITMAP(used, CFP_NUM_RULES);
|
||||
DECLARE_BITMAP(unique, CFP_NUM_RULES);
|
||||
unsigned int rules_cnt;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user