Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762792AbXKNXcZ (ORCPT ); Wed, 14 Nov 2007 18:32:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755366AbXKNXcO (ORCPT ); Wed, 14 Nov 2007 18:32:14 -0500 Received: from mga02.intel.com ([134.134.136.20]:63105 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755222AbXKNXcN (ORCPT ); Wed, 14 Nov 2007 18:32:13 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.21,418,1188802800"; d="scan'208";a="271236788" Message-ID: <473B852E.5010000@intel.com> Date: Wed, 14 Nov 2007 15:30:54 -0800 From: "Kok, Auke" User-Agent: Thunderbird 2.0.0.6 (X11/20070911) MIME-Version: 1.0 To: Patrick McHardy CC: Herbert Xu , David Miller , joonwpark81@gmail.com, w@1wt.eu, cfriesen@nortel.com, netdev@vger.kernel.org, djohnson+linux-kernel@sw.starentnetworks.com, linux-kernel@vger.kernel.org, e1000-devel@lists.sourceforge.net Subject: Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode References: <20071113.033611.73195922.davem@davemloft.net> <20071113120328.GB1086@gondor.apana.org.au> <20071113.040624.43544149.davem@davemloft.net> <20071113121647.GA1330@gondor.apana.org.au> <4739961E.90708@trash.net> <4739D3A5.4020503@intel.com> <4739DE29.2030507@trash.net> <4739DF29.6010901@intel.com> <473AC2EC.4060109@trash.net> In-Reply-To: <473AC2EC.4060109@trash.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Nov 2007 23:31:17.0668 (UTC) FILETIME=[74757E40:01C82716] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1754 Lines: 43 Patrick McHardy wrote: > Kok, Auke wrote: >> Patrick McHardy wrote: >>> Kok, Auke wrote: >>>> Patrick McHardy wrote: >>>> >>>>> I already posted a patch for this, not sure what happened to it. >>>>> Auke, any news on merging the secondary unicast address support? >>>> I dropped the ball on that one. Care to resend it and send me one for >>>> e1000e as well? >>> Patch for e1000 attached. >>> >>> Does e1000e also work with PCI cards if I add the proper IDs? >>> Otherwise I could only send an untested patch. >>> >> >> no, e1000e will only work with pci-e adapters. The code however is >> largely the >> same, so if you can dish me out (off-list) some test cases I can have >> our labs do >> the testing and add this to our test repertoire. > > > Actually that part of the code is quite different. I'm not > sure I understand the entire intent behind the differences, > why does it use a packed array of addresses instead of simply > passing the netdev pointer to the callback? That would be > necessary for secondary unicast support since we have to > disable unicast filtering if either the address count exceeds > the number of filter slots or the device is in promiscous mode. the underlying code was not specifically developed with linux only in mind and is therefore not aware of the net_device struct, hence the specific netdev agnostic implementation. if this implementation is posing issues then we need to look at how to improve it or just code it specifically for linux in a better way. Auke - 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/