From: Armin Wolf <W_Armin@gmx.de>
To: Jesse Brandeburg <jesse.brandeburg@intel.com>,
Tony Nguyen <anthony.l.nguyen@intel.com>
Cc: netdev@vger.kernel.org
Subject: [BUG] Strange vlan handling on e1000e
Date: Thu, 8 Apr 2021 20:59:39 +0200 [thread overview]
Message-ID: <20210408185939.GB9960@esprimo-mx> (raw)
When using a Python script to send max sized vlan packets
on a BCM4401 nic (driver: b44), the Intel I217-V nic (driver: e1000e) only
receives packets with a maximum size of 1514 bytes and reports a
length error for the 1518 bytes sized packet.
When sending the packet from the I217-V and receiving with
the BCM4401 however, both packets are received without errors.
This still happens when both sides are directly connected
thru a single ethernet cable.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=212613
hostnamectl | grep "Operating System":
Operating System: Debian GNU/Linux 10 (buster)
Kernel version I217-V: 5.12.0-rc4 (net-next)
Kernel version BCM4401: 4.19.0-181
Python script:
from scapy.all import *
pkg1 = Ether(dst="FF:FF:FF:FF:FF:FF")/Dot1Q(vlan=100, type=0x8000)/Raw(load=b"\xFF" * 1500)
print("1st lenght: " + str(len(pkg1)) + " Byte + 4 Byte FCS")
sendp(pkg1, iface="eth0.100")
pkg2 = Ether(dst="FF:FF:FF:FF:FF:FF")/Dot1Q(vlan=100, type=0x8000)/Raw(load=b"\xFF" * 1496)
print("2nd lenght: " + str(len(pkg2)) + " Byte + 4 Byte FCS")
sendp(pkg2, iface="eth0.100")
reply other threads:[~2021-04-08 18:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210408185939.GB9960@esprimo-mx \
--to=w_armin@gmx.de \
--cc=anthony.l.nguyen@intel.com \
--cc=jesse.brandeburg@intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox