Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2020 15:52:11 +0530
From:      Sujit K M <kmsujit@gmail.com>
To:        Mark Saad <nonesuch@longcount.org>
Cc:        Hackers freeBSD <freebsd-hackers@freebsd.org>, NYCBUG Talk <talk@lists.nycbug.org>
Subject:   Re: [talk] LACP debug question
Message-ID:  <CA%2B6mNep5=-R41pPdEn8yLFoCvDa1E1Ew_8YYcS9U2LB7C7hTGg@mail.gmail.com>
In-Reply-To: <906D4A4A-95E1-4AB3-9D64-44DBC3987E51@longcount.org>
References:  <906D4A4A-95E1-4AB3-9D64-44DBC3987E51@longcount.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 11, 2020, 10:03 PM Mark Saad <nonesuch@longcount.org> wrote:

> All
>   This is a repost from net . I am looking for someone who can help me
> better understand this LACP disconnect that I am seeing on 12-stable . Th=
e
> server is a router with Solarflare nics attached to a Pair of arista 7050=
=E2=80=99s
> .
>
> Can you help me understand what I am looking at here. I enabled the lacp
> debug until I finally saw the issue I noted before. Due to some log
> rotation part of the message is clipped.
> Here is a part the full thing is on patebin https://pastebin.com/BGtbxcBf
>
>
> 30 2020-07-09T15:47:04.145885+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> lacp_sm_rx_timer: CURRENT -> EXPIRED
> 31 2020-07-09T15:47:04.145895+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> Interface stopped DISTRIBUTING, possible flapping
> 32 2020-07-09T15:47:04.145895+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> collecting enabled
>

https://en.m.wikipedia.org/wiki/Link_aggregation#:~:text=3DWithin%20the%20I=
EEE%20specification%2C%20the,form%20a%20single%20logical%20channel
.

The expired and stopped distribution might beat the purpose of LACP.

>
> 33 2020-07-09T15:47:04.145896+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> disable distributing on aggregator
> [(8000,00-0F-53-69-7C-20,00F2,0000,0000),(8000,46-4C-A8-68-13-47,006A,000=
0,0000)],
> nports 2 -> 1
> 34 2020-07-09T15:47:04.145911+00:00 ch1-c104-sdn02-mgmt kernel: sfxge1:
> lacp_select_tx_port: waiting transit
> 35 2020-07-09T15:47:04.145912+00:00 ch1-c104-sdn02-mgmt kernel: marker
> transmit, port=3D6, sys=3D00:0f:53:69:7c:20, id=3D487
> 36 2020-07-09T15:47:04.145912+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> sfxge1: lacp_select_tx_port: waiting transit
> 37 2020-07-09T15:47:04.145913+00:00 ch1-c104-sdn02-mgmt kernel: marker
> transmit, port=3D5, sys=3D00:0f:53:69:7c:20, id=3D487
> 38 2020-07-09T15:47:04.145914+00:00 ch1-c104-sdn02-mgmt kernel: marker
> response, port=3D6, sys=3D00:0f:53:69:7c:20, id=3D487
> 39 2020-07-09T15:47:04.145914+00:00 ch1-c104-sdn02-mgmt kernel:
> [(8000,00-0F-53-69-7C-20,00F2,0000,0000),(8000,46-4C-A8-68-13-47,006A,000=
0,0000)],
> speed=3D10000000000, nports=3D1
> 40 2020-07-09T15:47:04.145922+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> lacp_select_tx_port: waiting transit
> 41 2020-07-09T15:47:04.145923+00:00 ch1-c104-sdn02-mgmt kernel:
> lacp_select_tx_port: waiting transit
> 42 2020-07-09T15:47:04.145923+00:00 ch1-c104-sdn02-mgmt kernel: active
> aggregator not changed
> 43 2020-07-09T15:47:04.145924+00:00 ch1-c104-sdn02-mgmt kernel:
> lacp_select_tx_port: waiting transit
> 44 2020-07-09T15:47:04.145925+00:00 ch1-c104-sdn02-mgmt kernel: marker
> response, port=3D5, sys=3D00:0f:53:69:7c:20, id=3D487
> 45 2020-07-09T15:47:04.145925+00:00 ch1-c104-sdn02-mgmt kernel:
> lacp_select_tx_port: waiting transit
> 46 2020-07-09T15:47:04.145926+00:00 ch1-c104-sdn02-mgmt kernel: new
> [(8000,00-0F-53-69-7C-20,00F2,0000,0000),(8000,46-4C-A8-68-13-47,006A,000=
0,0000)]
> 47 2020-07-09T15:47:04.145926+00:00 ch1-c104-sdn02-mgmt kernel: Set table
> 1 with 1 ports
> 48 2020-07-09T15:47:04.145927+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> mux_state 4 -> 3
> 49 2020-07-09T15:47:04.145928+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> collecting disabled
> 50 2020-07-09T15:47:04.145930+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> mux_state 3 -> 2
> 51 2020-07-09T15:47:04.145931+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> lacpdu transmit
> 52 2020-07-09T15:47:04.145931+00:00 ch1-c104-sdn02-mgmt kernel:
> actor=3D(8000,00-0F-53-69-7C-20,00F2,8000,0005)
> 53 2020-07-09T15:47:04.145932+00:00 ch1-c104-sdn02-mgmt kernel:
> actor.state=3D8d<ACTIVITY,AGGREGATION,SYNC,EXPIRED>
> 54 2020-07-09T15:47:04.145932+00:00 ch1-c104-sdn02-mgmt kernel:
> partner=3D(8000,46-4C-A8-68-13-47,006A,8000,0006)
> 55 2020-07-09T15:47:04.145933+00:00 ch1-c104-sdn02-mgmt kernel:
> partner.state=3D37<ACTIVITY,TIMEOUT,AGGREGATION,COLLECTING,DISTRIBUTING>
> 56 2020-07-09T15:47:04.145935+00:00 ch1-c104-sdn02-mgmt kernel: maxdelay=
=3D0
> 57 2020-07-09T15:47:04.145937+00:00 ch1-c104-sdn02-mgmt kernel: queue
> flush complete
> ---
> Mark Saad | nonesuch@longcount.org
> _______________________________________________
> talk mailing list
> talk@lists.nycbug.org
> http://lists.nycbug.org:8080/mailman/listinfo/talk
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B6mNep5=-R41pPdEn8yLFoCvDa1E1Ew_8YYcS9U2LB7C7hTGg>