Bug 200629 - ether_type not set in ether header in mbuf for vlan packet
Summary: ether_type not set in ether header in mbuf for vlan packet
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-net mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 08:01 UTC by Praveen
Modified: 2015-06-14 12:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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