mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
nfp: fix simple vNIC mailbox length
[ Upstream commiteaab2d2d0f
] The simple vNIC mailbox length should be 12 decimal and not 0x12. Using a decimal also makes it clear this is a length value and not another field within the simple mailbox defines. Found by code inspection, there are no known firmware configurations where this would cause issues. Fixes:527d7d1b99
("nfp: read mailbox address from TLV caps") Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4d715fe508
commit
dd123c299c
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@
|
|||
#define NFP_NET_CFG_MBOX_SIMPLE_CMD 0x0
|
||||
#define NFP_NET_CFG_MBOX_SIMPLE_RET 0x4
|
||||
#define NFP_NET_CFG_MBOX_SIMPLE_VAL 0x8
|
||||
#define NFP_NET_CFG_MBOX_SIMPLE_LEN 0x12
|
||||
#define NFP_NET_CFG_MBOX_SIMPLE_LEN 12
|
||||
|
||||
#define NFP_NET_CFG_MBOX_CMD_CTAG_FILTER_ADD 1
|
||||
#define NFP_NET_CFG_MBOX_CMD_CTAG_FILTER_KILL 2
|
||||
|
|
Loading…
Reference in a new issue