forked from Minki/linux
net: mvpp2: fix the RSS table entry offset
The macro used to access or set an RSS table entry was using an offset
of 8, while it should use an offset of 0. This lead to wrongly configure
the RSS table, not accessing the right entries.
Fixes: 1d7d15d79f
("net: mvpp2: initialize the RSS tables")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b7e445a1c8
commit
8a7b741e76
@ -85,7 +85,7 @@
|
||||
|
||||
/* RSS Registers */
|
||||
#define MVPP22_RSS_INDEX 0x1500
|
||||
#define MVPP22_RSS_INDEX_TABLE_ENTRY(idx) ((idx) << 8)
|
||||
#define MVPP22_RSS_INDEX_TABLE_ENTRY(idx) (idx)
|
||||
#define MVPP22_RSS_INDEX_TABLE(idx) ((idx) << 8)
|
||||
#define MVPP22_RSS_INDEX_QUEUE(idx) ((idx) << 16)
|
||||
#define MVPP22_RSS_TABLE_ENTRY 0x1508
|
||||
|
Loading…
Reference in New Issue
Block a user