Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2014 08:40:23 -0600
From:      "David P. Discher" <dpd@dpdtech.com>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        Craig Rodrigues <rodrigc@freebsd.org>, FreeBSD Net <freebsd-net@freebsd.org>, Adam McDougall <mcdouga9@egr.msu.edu>, Alan Somers <asomers@freebsd.org>
Subject:   Re: FreeBSD 10-stable (r274577) LACP / IEEE 802.3ad with TP-Link TL-SG2008 - not working
Message-ID:  <D21A2C60-2332-4E40-A84E-A312C8847870@dpdtech.com>
In-Reply-To: <20141218164651.GS25139@funkthat.com>
References:  <5480D8EF.9000804@egr.msu.edu> <3D993418-E632-44BA-8FE2-2F3F34188F20@dpdtech.com> <34276C9E-CAEF-4E3F-AA2A-568F2D3099EC@dpdtech.com> <CAOtMX2h3U-C9stM5qdix1HCqG=6rZD2GzKQw0t6Raoh6ToL3Og@mail.gmail.com> <2BCFC9D3-3B7D-421F-9FDA-0C4E1018F8F5@dpdtech.com> <CAOtMX2gfcRDWPmSAiNDuxpJC7bbKru90fyOqZe9WShpHL5LW0Q@mail.gmail.com> <A77F34EB-91DD-4FD8-B1BD-B1C9DB5AFE36@dpdtech.com> <CAG=rPVdHdJeBPMWGC5_zAO-e2Q0MXB3UNePXSqYXY6_OOeVX%2BQ@mail.gmail.com> <CAG=rPVf19-WpR79xHEbavKLtHE-xpa_jCMQ1_uWyq0HUdpcE7Q@mail.gmail.com> <CAOtMX2h01EuE5eE5%2BCKW4N44P5SK=pMudF0U4rd_ctxWD-USPw@mail.gmail.com> <20141218164651.GS25139@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_E5D4F5BA-6658-483D-8BA0-1D8289245142
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

I=92m going to look into other switches/routers and read the spec a bit =
closer, but linux seems to think the LACPDU check is packet size =3D> =
sizeof(struct lacpdu) :

 - =
https://github.com/torvalds/linux/blob/70e71ca0af244f48a5dcf56dc435243792e=
3a495/drivers/net/bonding/bond_3ad.c#L2185



-
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz=20



On Dec 18, 2014, at 10:46 AM, John-Mark Gurney <jmg@funkthat.com> wrote:

>>=20
>> Good find, Craig.  Also, I found the full LACPDU definition.  It's in
>> section 5.4.2.2, page 33, of the 802.1ax-2008 spec that I linked to.
>> You can see the 4-byte FCS field at the end.  Does your tp_link[4]
>> field look like an FCS?  If so, you need to figure out why it's
>> propagating all the way up to the LACP level.
>=20
> It very well could be that the authors of the TP-Link firmware missed
> the comment in 1ax that says the FCS is generated by the MAC, and
> include it in their sending...
>=20
> If you could capture the original frame, and check the ether_type
> field, to see if it is 124 or 128... If it's 128, they probably added
> the FCS manually and the the MAC adds it a second time...
>=20


--Apple-Mail=_E5D4F5BA-6658-483D-8BA0-1D8289245142
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUlDjYAAoJEEmwU6XuhYWOv3QH/2GaTMecfaWyK+gjxthjctsH
zhdf8h8whc6j+EyPNXEk69WAFrHkyKeIheRImK0jQXQxP56ybnwMGcxJPxVLObux
GUznhHgl/8jKOvLNtuMT6c95hQp5B5s+BcSIASDoaz1FCHqSAptvCh+Qk14k8WiB
mucIUgEGnhzdttXX3sCks2YjANHpDXboy+5Hy2vBD0jFGF0VSfj5U6Dvx8RwvxIR
Bk2nd4JVJ0Auj8ns28HVHCVV5xfPThfedErqA+xrYFidS+KwB7yLSh6T9X1Ki2el
p0qIuF/gKs2l9gXkIBOhtjOTABq5sBvSN7qS5FqArEEIyevV7Piku0SGjBvzL3Y=
=8Zst
-----END PGP SIGNATURE-----

--Apple-Mail=_E5D4F5BA-6658-483D-8BA0-1D8289245142--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D21A2C60-2332-4E40-A84E-A312C8847870>