Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760984AbXKAPE4 (ORCPT ); Thu, 1 Nov 2007 11:04:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753757AbXKAPEq (ORCPT ); Thu, 1 Nov 2007 11:04:46 -0400 Received: from ns2.lanforge.com ([66.165.47.211]:43999 "EHLO ns2.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752486AbXKAPEp (ORCPT ); Thu, 1 Nov 2007 11:04:45 -0400 Message-ID: <4729EAFF.9050606@candelatech.com> Date: Thu, 01 Nov 2007 08:04:31 -0700 From: Ben Greear Organization: Candela Technologies User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: David Miller CC: shemminger@linux-foundation.org, djohnson+linux-kernel@sw.starentnetworks.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bguo@sw.starentnetworks.com Subject: Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device? References: <20071031123359.3954befc@freepuppy.rosehill> <4729269A.6090606@candelatech.com> <47292A99.5070805@linux-foundation.org> <20071031.215025.195350296.davem@davemloft.net> In-Reply-To: <20071031.215025.195350296.davem@davemloft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 964 Lines: 30 David Miller wrote: > From: Stephen Hemminger > 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. > 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 Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/