Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2020 11:58:23 -0400
From:      Mark Saad <nonesuch@longcount.org>
To:        Sujit K M <kmsujit@gmail.com>
Cc:        Hackers freeBSD <freebsd-hackers@freebsd.org>, NYCBUG Talk <talk@lists.nycbug.org>
Subject:   Re: [talk] LACP debug question
Message-ID:  <F2E6ECD9-8C81-4A4A-AD5D-4B6C6BF14E95@longcount.org>
In-Reply-To: <CA%2B6mNep5=-R41pPdEn8yLFoCvDa1E1Ew_8YYcS9U2LB7C7hTGg@mail.gmail.com>
References:  <CA%2B6mNep5=-R41pPdEn8yLFoCvDa1E1Ew_8YYcS9U2LB7C7hTGg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sujit
  I know that this is LACP debug . I am trying to understand the specific co=
nditions that this LACP disconnect sequence is occurring.  It=E2=80=99s a od=
d thing, it=E2=80=99s happening during times of relatively low was tcp traff=
ic . The router and is not highly loaded and I can=E2=80=99t find a reason w=
hy this is occurring .=20


---
Mark Saad | nonesuch@longcount.org

On Jul 12, 2020, at 6:22 AM, Sujit K M <kmsujit@gmail.com> wrote:
>=20
> =EF=BB=BF
>=20
>=20
>> 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 be=
tter understand this LACP disconnect that I am seeing on 12-stable . The ser=
ver is a router with Solarflare nics attached to a Pair of arista 7050=E2=80=
=99s .=20
>>=20
>> Can you help me understand what I am looking at here. I enabled the lacp d=
ebug until I finally saw the issue I noted before. Due to some log rotation p=
art of the message is clipped.
>> Here is a part the full thing is on patebin https://pastebin.com/BGtbxcBf=

>>=20
>>=20
>> 30 2020-07-09T15:47:04.145885+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: l=
acp_sm_rx_timer: CURRENT -> EXPIRED
>> 31 2020-07-09T15:47:04.145895+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: I=
nterface stopped DISTRIBUTING, possible flapping
>> 32 2020-07-09T15:47:04.145895+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: c=
ollecting enabled
>=20
>=20
> https://en.m.wikipedia.org/wiki/Link_aggregation#:~:text=3DWithin%20the%20=
IEEE%20specification%2C%20the,form%20a%20single%20logical%20channel.
>=20
> The expired and stopped distribution might beat the purpose of LACP.
>>=20
>> 33 2020-07-09T15:47:04.145896+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: d=
isable distributing on aggregator [(8000,00-0F-53-69-7C-20,00F2,0000,0000),(=
8000,46-4C-A8-68-13-47,006A,0000,0000)], nports 2 -> 1
>> 34 2020-07-09T15:47:04.145911+00:00 ch1-c104-sdn02-mgmt kernel: sfxge1: l=
acp_select_tx_port: waiting transit
>> 35 2020-07-09T15:47:04.145912+00:00 ch1-c104-sdn02-mgmt kernel: marker tr=
ansmit, 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: s=
fxge1: lacp_select_tx_port: waiting transit
>> 37 2020-07-09T15:47:04.145913+00:00 ch1-c104-sdn02-mgmt kernel: marker tr=
ansmit, 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 re=
sponse, 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,0000,0000)], sp=
eed=3D10000000000, nports=3D1
>> 40 2020-07-09T15:47:04.145922+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: l=
acp_select_tx_port: waiting transit
>> 41 2020-07-09T15:47:04.145923+00:00 ch1-c104-sdn02-mgmt kernel: lacp_sele=
ct_tx_port: waiting transit
>> 42 2020-07-09T15:47:04.145923+00:00 ch1-c104-sdn02-mgmt kernel: active ag=
gregator not changed
>> 43 2020-07-09T15:47:04.145924+00:00 ch1-c104-sdn02-mgmt kernel: lacp_sele=
ct_tx_port: waiting transit
>> 44 2020-07-09T15:47:04.145925+00:00 ch1-c104-sdn02-mgmt kernel: marker re=
sponse, 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_sele=
ct_tx_port: waiting transit
>> 46 2020-07-09T15:47:04.145926+00:00 ch1-c104-sdn02-mgmt kernel: new [(800=
0,00-0F-53-69-7C-20,00F2,0000,0000),(8000,46-4C-A8-68-13-47,006A,0000,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: m=
ux_state 4 -> 3
>> 49 2020-07-09T15:47:04.145928+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: c=
ollecting disabled
>> 50 2020-07-09T15:47:04.145930+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: m=
ux_state 3 -> 2
>> 51 2020-07-09T15:47:04.145931+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0: l=
acpdu 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.sta=
te=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.s=
tate=3D37<ACTIVITY,TIMEOUT,AGGREGATION,COLLECTING,DISTRIBUTING>
>> 56 2020-07-09T15:47:04.145935+00:00 ch1-c104-sdn02-mgmt kernel: maxdelay=3D=
0
>> 57 2020-07-09T15:47:04.145937+00:00 ch1-c104-sdn02-mgmt kernel: queue flu=
sh 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?F2E6ECD9-8C81-4A4A-AD5D-4B6C6BF14E95>