34
Intelligent NIC Getting Started Guide — NDA Required
NetXen, Inc.
9. VLAN Configuration
Note that if a send packet's Ethernet header specifies a protocol type (EtherType) of
802.3ad or GARP VLAN Registration Protocol (GVRP), the miniport driver should
transmit the packet without modifying it.
The following table indicates the circumstances under which a miniport driver should not
send an 802.1Q-marked packet.
9.1.2
NIC VLAN as Receive Side
The following table summarizes the actions that a miniport driver should perform on an
802.1Q receive packet:
9.2
Linux
Table 8 Conditions for Sending an 802.1Q Packet
Configured VLAN
ID for the NIC
Priority or VLAN ID in the
Packet's OOB Data
VLAN ID in the Packet's
Tag Header
Miniport Driver Action
Zero
VLAN ID does not match the
configured VLAN ID for the
NIC.
Any value or not present.
Fail to send.
Nonzero
Not present.
Does not match the
configured VLAN ID for the
NIC.
Fail to send.
Any
Non zero
Non zero
Fail to send because the VLAN
ID should not be set in both OOB
data and tag header.
Table 9 Conditions for Receiving an 802.1Q Packet
Configured VLAN
ID for the NIC
Packet Contains a Tag
Header?
VLAN ID in the Packet's
Tag Header
Miniport Driver Action
Zero
Yes
Any value.
Remove priority and VLAN ID
from the packet. Insert removed
priority and VLAN ID into per-
packet information. Indicate the
packet.
Zero
No
Not applicable
Set the priority and VLAN ID in
per-packet information to zero.
Indicate the packet.
Nonzero
Yes
Matches the configured
VLAN ID
Remove priority and VLAN ID
from the packet. Insert removed
priority and VLAN ID into per-
packet information. Indicate the
packet.
Nonzero
Yes
Does not match the
configured VLAN ID
Do not indicate the packet.
Nonzero
No
Not applicable
Do not indicate the packet.