From: Feldman, S. <sco...@in...> - 2004-02-05 09:30:49
|
> Would it be possible to retreive 802.1p priority bits from=20 > the received packets in the e1000 driver? I am considering=20 > adding some queueing mechanism to a linux router that can=20 > honor priority information in the VLAN header. > Are those bits present (in the e1000_rx_desc.special) ? The e1000 hardware strips the VLAN/priority tag before handing the packet to the driver. You could turn off hardware VLAN support, and then the driver will hand up a skb with packet data that includes the VLAN/priority tag. To turn it off: netdev->features =3D NETIF_F_SG | NETIF_F_HW_CSUM | - NETIF_F_HW_VLAN_TX | - NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER; What happens to the skb after the driver hands it to the stack is something you'll need to chase down. -scott |