diff options
author | Steven <sluong@cisco.com> | 2018-04-19 21:59:09 -0700 |
---|---|---|
committer | steven luong <sluong@cisco.com> | 2018-04-23 14:51:47 +0000 |
commit | 0c63d82e990f10f3c9de694ff61f8c52c313aa99 (patch) | |
tree | 4c9003fe813c0c87a1fa4a1a844508059a3f37bc /src/plugins/lacp/node.c | |
parent | fd2e3765219ad6c47d24e82e9bbf2d54d5b6b207 (diff) |
lacp: partner may time us out if fast-rate is configured [VPP-1247]
We should be sending LACP PDU every second if the partner has LACP_TIMEOUT flag
set which means it will time us out in 3 seconds.
Add interface name for lacp trace
Change-Id: If7d816c062d03e80cc0dd7d10dba0b76ace0664a
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/plugins/lacp/node.c')
-rw-r--r-- | src/plugins/lacp/node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lacp/node.c b/src/plugins/lacp/node.c index 8eb78876461..447e85fd373 100644 --- a/src/plugins/lacp/node.c +++ b/src/plugins/lacp/node.c @@ -101,6 +101,7 @@ lacp_node_fn (vlib_main_t * vm, len = (b0->current_length < sizeof (t0->pkt)) ? b0->current_length : sizeof (t0->pkt); t0->len = len; + t0->sw_if_index = vnet_buffer (b0)->sw_if_index[VLIB_RX]; clib_memcpy (&t0->pkt, vlib_buffer_get_current (b0), len); } /* push this pkt to the next graph node, always error-drop */ |