]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: flower: fix ABI mismatch between driver and firmware
authorLouis Peens <louis.peens@netronome.com>
Wed, 2 Sep 2020 15:04:58 +0000 (17:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2020 23:00:13 +0000 (16:00 -0700)
commit7882b71060159b16207bdd35760989431df74245
tree72c6ae31bcbcc61bfd1581b52faab4c307f28d79
parent209414a2de9082f1c9e890662760ef017cc92022
nfp: flower: fix ABI mismatch between driver and firmware

Fix an issue where the driver wrongly detected ipv6 neighbour updates
from the NFP as corrupt. Add a reserved field on the kernel side so
it is similar to the ipv4 version of the struct and has space for the
extra bytes from the card.

Fixes: 21a61842f1e2 ("nfp: flower: support ipv6 tunnel keep-alive messages from fw")
Signed-off-by: Louis Peens <louis.peens@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c