From owner-freebsd-net@FreeBSD.ORG Fri Dec 19 14:40:27 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84D3E650 for ; Fri, 19 Dec 2014 14:40:27 +0000 (UTC) Received: from mail-yk0-x22c.google.com (mail-yk0-x22c.google.com [IPv6:2607:f8b0:4002:c07::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33536263C for ; Fri, 19 Dec 2014 14:40:27 +0000 (UTC) Received: by mail-yk0-f172.google.com with SMTP id 131so421423ykp.31 for ; Fri, 19 Dec 2014 06:40:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dpdtech.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=aXJkmVIt1XFpmCNxFnk6MhBdSfw2E25WJ9WmceMgNik=; b=LFtGc81KEjVdpHoNQSLM/izSB07sXjobTpVpG4YW3iS6aG1N0n8Kvph96O44XiRBBH omZtAEt+pScg2wJqvHKmaY971q26RWM35hFr0m5m5La+BxbjwZ91J6MLfL4c+gPjL7m3 6TH16lZVeEoPS8bXo1tnzkGABpJzQ9Vic4Ip0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=aXJkmVIt1XFpmCNxFnk6MhBdSfw2E25WJ9WmceMgNik=; b=jd2pNuN+d0BA41A9Bcj4+vuBJnnElre8Dswi8dMmx94wofi0nyzveAf9QxeH0k45XN nU0a7aLhwClSMu0Kyu6xgJwQO3YFIdO495GDvy8OnALmp4ecE3zWQAxBShQXDwCa/i02 GzKUqEaPkK9Bt/+4pPmSc/OUheoLXGJVtDL9Sep/G9mP01/yfcvi1geiC/kKZnehz6dJ XaBNNHsHmVVUhMNu1zG2uA3V9Kh1nxAqSl0l+KGhLV5pgDhpSd7rhbdnyY6fVJ+zZ8rF tyhJWIaFkL87MXI2pkbh1o/ExA7rYrPTW3SgxSr81IpNxH98et9JLNzuxWxovnzq6SL8 /rGg== X-Gm-Message-State: ALoCoQkWiSvcBJrffm5Z7MO6EYfD2A4i3Uqs7ZSqGXLW4GIyfwFw94hQjezY76dab240GTG56eWC X-Received: by 10.236.70.70 with SMTP id o46mr6431579yhd.191.1419000026233; Fri, 19 Dec 2014 06:40:26 -0800 (PST) Received: from [192.168.0.164] (71-81-146-153.dhcp.stls.mo.charter.com. [71.81.146.153]) by mx.google.com with ESMTPSA id 46sm6012524yhd.13.2014.12.19.06.40.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Dec 2014 06:40:25 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_E5D4F5BA-6658-483D-8BA0-1D8289245142"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: FreeBSD 10-stable (r274577) LACP / IEEE 802.3ad with TP-Link TL-SG2008 - not working From: "David P. Discher" In-Reply-To: <20141218164651.GS25139@funkthat.com> Date: Fri, 19 Dec 2014 08:40:23 -0600 Message-Id: References: <5480D8EF.9000804@egr.msu.edu> <3D993418-E632-44BA-8FE2-2F3F34188F20@dpdtech.com> <34276C9E-CAEF-4E3F-AA2A-568F2D3099EC@dpdtech.com> <2BCFC9D3-3B7D-421F-9FDA-0C4E1018F8F5@dpdtech.com> <20141218164651.GS25139@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1878.6) Cc: Craig Rodrigues , FreeBSD Net , Adam McDougall , Alan Somers X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 14:40:27 -0000 --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 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--