]> asedeno.scripts.mit.edu Git - linux.git/commit
nfp: flower vxlan neighbour keep-alive
authorJohn Hurley <john.hurley@netronome.com>
Mon, 25 Sep 2017 10:23:41 +0000 (12:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Sep 2017 04:27:36 +0000 (21:27 -0700)
commit856f5b135758ad80053a49f7ce9d1dc0166e3006
treee56682c4bb463d6588e85263b5867865289a0230
parent8e6a9046b66a7dfb11ae8be226afaaf417649411
nfp: flower vxlan neighbour keep-alive

Periodically receive messages containing the destination IPs of tunnels
that have recently forwarded traffic. Update the neighbour entries 'used'
value for these IPs next hop.

This prevents the neighbour entry from expiring on timeout but rather
signals an ARP to verify the connection. From an NFP perspective, packets
will not fall back mid-flow unless the link is verified to be down.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/cmsg.c
drivers/net/ethernet/netronome/nfp/flower/cmsg.h
drivers/net/ethernet/netronome/nfp/flower/main.h
drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c