Skip to content

Commit 194079f

Browse files
committed
[neighsync] VXLAN EVPN neighbors not in NEIGH_TABLE (PR sonic-net#3478)
VXLAN EVPN learned routes are not entered into NEIGH_TABLE as per Issue sonic-net#3384. The EVPN VXLAN HLD specifically states this should be populated so it triggers an update to the SAI database: https://github.com/sonic-net/SONiC/blob/master/doc/vxlan/EVPN/EVPN_VXLAN_HLD.md#438-mac-ip-route-handling The reason it was not occurring is NOARP entries were being rejected, this patch adds an exception for externally learned neighbors. Signed-off-by: Brad House (@bradh352)
1 parent 9ada0e4 commit 194079f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

neighsyncd/neighsync.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
#include <algorithm>
1717
#include <linux/neighbour.h>
1818

19+
#ifndef NTF_EXT_LEARNED
20+
/* from include/uapi/linux/neighbour.h */
21+
# define NTF_EXT_LEARNED (1 << 4)
22+
#endif
23+
1924
using namespace std;
2025
using namespace swss;
2126

0 commit comments

Comments
 (0)