netdev
[Top] [All Lists]

Re: Question about priority transmit in linux.

To: Yiping Chen <YipingChen@xxxxxxxxxx>
Subject: Re: Question about priority transmit in linux.
From: Andi Kleen <ak@xxxxxx>
Date: Fri, 9 Feb 2001 14:43:45 +0100
Cc: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
In-reply-to: <611C3E2A972ED41196EF0050DA92E076010B346F@EXCHANGE2>; from YipingChen@via.com.tw on Fri, Feb 09, 2001 at 01:04:16PM +0100
References: <611C3E2A972ED41196EF0050DA92E076010B346F@EXCHANGE2>
Sender: owner-netdev@xxxxxxxxxxx
On Fri, Feb 09, 2001 at 01:04:16PM +0100, Yiping Chen wrote:
> Hi, sorry to bother you.
> I am a network adapter linux driver programmer, I am trying to write driver
> support vlan.
> But I don't know where to get the IEEE 802.1Q tag information including
> priority and VLAN ID from upper protocol.
> Whether we can get such informations from skbuff structure?
> I have read Intel NIC driver, they get this kind information from cb field
> in skbuff structure when transmit frame.
> But I am not sure what's the
> meaning of cb field in skbuff structure.
> Would  you mind giving me any suggestions ?

Linux currently has no support for VLANs in any standard kernel, so therefore
there is no standard way to get it. Intel iirc has an own VLAN implementation,
there are also others.


-Andi

<Prev in Thread] Current Thread [Next in Thread>