Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

From
David Miller <davem@davemloft.net>
Date
2007-11-01 04:50:36
Also in
lkml
Reply to
Stephen Hemminger, 2007-11-01
From: Stephen Hemminger <redacted>
Date: Wed, 31 Oct 2007 18:23:37 -0700
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.

In my opinion trying to cobble one up by hand using the known TAG is
worse than not providing a VLAN header at all.
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