Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

From
Ben Greear <hidden>
Date
2007-11-01 15:04:56
Also in
lkml
Reply to
David Miller, 2007-11-01
David Miller wrote:
From: Stephen Hemminger <redacted>
Date: Wed, 31 Oct 2007 18:23:37 -0700

  
quoted
The code in AF_PACKET should fix the skb before passing to user
space so that there is no difference between accel and non-accel
hardware.  Internal choices shouldn't leak to user space.  Ditto,
the receive checksum offload should be fixed up as well.
    
The hardware has stripped the VLAN header completely and has not
provided it to us at all.
  
Do the NICs not save the QoS bits in the VLAN header anywhere that we could
use to reconstitute the header?

Thanks,
Ben

-- 
Ben Greear [off-list ref] Candela Technologies Inc  http://www.candelatech.com

Thread (28 messages) 28 messages, 8 authors, last reply 2007-11-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help