Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2007 Sun Microsystems
1. Introduction
1.1. Project/Component Working Name:
VLAN macros for sys/ethernet.h
1.2. Name of Document Author/Supplier:
Author: Garrett D'Amore
1.3 Date of This Document:
22 August, 2007
4. Technical Description
Problem
-------
Various network drivers need to know the size of ethernet frames as adjusted
to account for VLAN (802.1q) tags. Right now they all define their own
macros or use bare constants (4 for the tag size, 1518 for ETHERMAX + 4).
Solution
--------
We propose to add two macros to sys/ethernet.h:
#define ETHERVTAGL 4 /* size of a VLAN tag */
#define ETHERVLANMAX 1518 /* max tagged ethernet frame size */
Some existing macros that we tried to follow the naming style of:
ETHERADDRL
ETHERFCSL
ETHERMAX
We're not sure that the contents of sys/ethernet.h have ever been covered by an
ARC case, but we believe that these two macros could be added to the DDI and
given either Committed or Uncommitted binding so that 3rd party drivers could
begin using them.
6. Resources and Schedule
6.4. Steering Committee requested information
6.4.1. Consolidation C-team Name:
ON
6.5. ARC review type: FastTrack
6.6. ARC Exposure: open