net: mvpp2: define the number of RSS entries per table in mvpp2.h
The size of the the RSS indirection tables should be defined in mvpp2.h, so that we can use it in all files of the PPv2 driver. This commit moves the define in mvpp2.h, and adds the missing #include in mvpp2_cls.h. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
53a40025c0
commit
0ad2f53906
@@ -557,6 +557,9 @@
|
||||
#define MVPP2_BIT_TO_WORD(bit) ((bit) / 32)
|
||||
#define MVPP2_BIT_IN_WORD(bit) ((bit) % 32)
|
||||
|
||||
/* RSS constants */
|
||||
#define MVPP22_RSS_TABLE_ENTRIES 32
|
||||
|
||||
/* IPv6 max L3 address size */
|
||||
#define MVPP2_MAX_L3_ADDR_SIZE 16
|
||||
|
||||
|
Reference in New Issue
Block a user