diff options
author | Steven <sluong@cisco.com> | 2018-04-19 21:59:09 -0700 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2018-04-23 18:33:59 +0000 |
commit | b2ffc697570f17f413fb4f2748760c44f8f21661 (patch) | |
tree | ed685d9d8be0a735625d102ffe1502f6c02be511 /src/plugins/lacp/node.c | |
parent | 62166004a9f0861e9ea50101b2194881ef1a35aa (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 */ |