nfp: flower: configure tunnel neighbour on cmsg rx
authorTianyu Yuan <tianyu.yuan@corigine.com>
Thu, 14 Jul 2022 08:19:15 +0000 (10:19 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Jul 2022 17:12:56 +0000 (10:12 -0700)
commit656bd03a2cd853e7c7c4e08968ad8c0ea993737d
tree9c1c7f3b113689f4239bb5ca8f6584e80ef85e53
parent3d8c51b25a235e283e37750943bbf356ef187230
nfp: flower: configure tunnel neighbour on cmsg rx

nfp_tun_write_neigh() function will configure a tunnel neighbour when
calling nfp_tun_neigh_event_handler() or nfp_flower_cmsg_process_one_rx()
(with no tunnel neighbour type) from firmware.

When configuring IP on physical port as a tunnel endpoint, no operation
will be performed after receiving the cmsg mentioned above.

Therefore, add a progress to configure tunnel neighbour in this case.

v2: Correct format of fixes tag.

Fixes: f1df7956c11f ("nfp: flower: rework tunnel neighbour configuration")
Signed-off-by: Tianyu Yuan <tianyu.yuan@corigine.com>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Reviewed-by: Baowen Zheng <baowen.zheng@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220714081915.148378-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c