Bug 200629

Summary: ether_type not set in ether header in mbuf for vlan packet
Product: Base System Reporter: Praveen <praveenchoudary.gokina>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: New ---    
Severity: Affects Many People CC: hselasky
Priority: ---    
Version: 10.0-RELEASE   
Hardware: Any   
OS: Any   

Description Praveen 2015-06-04 08:01:58 UTC
When I send a vlan packet, in driver, when we extract ether_type from ether_header in mbuf, for vlan packets ether_type is not set to ETHERTYPE_VLAN.

To test, we can use Emulex Skyhawk adapter. In OCE Inbox driver, in oce_tso_setup(), ether_type is not coming as ETHERTYPE_VLAN for vlan packets.

Below are the steps to create vlan interface
ifconfig oce0 up
ifconfig vlan0 create
ifconfig vlan0  vlan 4 vlandev oce0
ifconfig vlan0 40.4.4.98 up
Comment 1 Hans Petter Selasky freebsd_committer freebsd_triage 2015-06-14 12:10:21 UTC
Hi,

Does MFC'ing this patch to 10-stable solve the issue?

https://svnweb.freebsd.org/changeset/base/280991

--HPS