From owner-freebsd-net@FreeBSD.ORG Thu Feb 3 18:30:16 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 304E310656D0 for ; Thu, 3 Feb 2011 18:30:16 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) Received: from VA3EHSOBE008.bigfish.com (va3ehsobe001.messaging.microsoft.com [216.32.180.11]) by mx1.freebsd.org (Postfix) with ESMTP id C75808FC14 for ; Thu, 3 Feb 2011 18:30:15 +0000 (UTC) Received: from mail154-va3-R.bigfish.com (10.7.14.247) by VA3EHSOBE008.bigfish.com (10.7.40.28) with Microsoft SMTP Server id 14.1.225.8; Thu, 3 Feb 2011 18:15:12 +0000 Received: from mail154-va3 (localhost.localdomain [127.0.0.1]) by mail154-va3-R.bigfish.com (Postfix) with ESMTP id 3B45BCF06EB for ; Thu, 3 Feb 2011 18:15:12 +0000 (UTC) X-SpamScore: -12 X-BigFish: VPS-12(zz14ffOzz1202hzz8275bh8275dh186Mz2fh2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:avexcashub1.qlogic.com; RD:avexcashub1.qlogic.com; EFVD:NLI Received: from mail154-va3 (localhost.localdomain [127.0.0.1]) by mail154-va3 (MessageSwitch) id 1296756911605813_31416; Thu, 3 Feb 2011 18:15:11 +0000 (UTC) Received: from VA3EHSMHS012.bigfish.com (unknown [10.7.14.241]) by mail154-va3.bigfish.com (Postfix) with ESMTP id 91821F9004E for ; Thu, 3 Feb 2011 18:15:11 +0000 (UTC) Received: from avexcashub1.qlogic.com (198.70.193.61) by VA3EHSMHS012.bigfish.com (10.7.99.22) with Microsoft SMTP Server (TLS) id 14.1.225.8; Thu, 3 Feb 2011 18:15:10 +0000 Received: from avexmb1.qlogic.org ([fe80::9545:3a4f:c131:467d]) by avexcashub1.qlogic.org ([::1]) with mapi; Thu, 3 Feb 2011 10:15:09 -0800 From: David Somayajulu To: "freebsd-net@freebsd.org" Date: Thu, 3 Feb 2011 10:15:08 -0800 Thread-Topic: Ethernet Drivers: Question on Sending Received Packets to the FreeBSD Network Stack Thread-Index: AcvDzVfmWheTpRb6QzKV2V2AFNGtawAAOCdg Message-ID: <75E1A2A7D185F841A975979B0906BBA6774DD4D905@AVEXMB1.qlogic.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-OriginatorOrg: qlogic.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Ethernet Drivers: Question on Sending Received Packets to the FreeBSD Network Stack X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2011 18:30:16 -0000 Hi All, While sending the Received Ethernet Frames (non - LRO case) to the FreeBSD = Network Stack via (struct ifnet *)->if_input((struct ifnet *), (struct *mbuf)); Is it possible to send multiple Ethernet Frames in a single invocation of t= he above callback function? In other words should (struct *mbuf) above always correspond to a single Et= hernet Frame? I am not sure if I missed something, but I gathered from a qu= ick perusal of ether_input() in net/if_ethersubr.c, that only ONE Ethernet = Frame may be sent per callback. Thanks David S. ________________________________ This message and any attached documents contain information from QLogic Cor= poration or its wholly-owned subsidiaries that may be confidential. If you = are not the intended recipient, you may not read, copy, distribute, or use = this information. If you have received this transmission in error, please n= otify the sender immediately by reply e-mail and then delete this message.