From owner-freebsd-current@FreeBSD.ORG Thu Feb 3 18:23:33 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AC9C106564A for ; Thu, 3 Feb 2011 18:23:33 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) Received: from VA3EHSOBE002.bigfish.com (va3ehsobe002.messaging.microsoft.com [216.32.180.12]) by mx1.freebsd.org (Postfix) with ESMTP id B34A98FC0A for ; Thu, 3 Feb 2011 18:23:32 +0000 (UTC) Received: from mail151-va3-R.bigfish.com (10.7.14.247) by VA3EHSOBE002.bigfish.com (10.7.40.22) with Microsoft SMTP Server id 14.1.225.8; Thu, 3 Feb 2011 18:08:29 +0000 Received: from mail151-va3 (localhost.localdomain [127.0.0.1]) by mail151-va3-R.bigfish.com (Postfix) with ESMTP id 8DFB4193840E for ; Thu, 3 Feb 2011 18:08:29 +0000 (UTC) X-SpamScore: -11 X-BigFish: VPS-11(zz14ffOzz1202hzz8275bh8275dh186Mz2ei2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:avexcashub1.qlogic.com; RD:none; EFVD:NLI Received: from mail151-va3 (localhost.localdomain [127.0.0.1]) by mail151-va3 (MessageSwitch) id 12967565097692_14913; Thu, 3 Feb 2011 18:08:29 +0000 (UTC) Received: from VA3EHSMHS004.bigfish.com (unknown [10.7.14.238]) by mail151-va3.bigfish.com (Postfix) with ESMTP id E1AA7111804E for ; Thu, 3 Feb 2011 18:08:28 +0000 (UTC) Received: from avexcashub1.qlogic.com (198.70.193.64) by VA3EHSMHS004.bigfish.com (10.7.99.14) with Microsoft SMTP Server (TLS) id 14.1.225.8; Thu, 3 Feb 2011 18:08:24 +0000 Received: from avexmb1.qlogic.org ([fe80::9545:3a4f:c131:467d]) by avexcashub2.qlogic.org ([::1]) with mapi; Thu, 3 Feb 2011 10:08:22 -0800 From: David Somayajulu To: "freebsd-current@freebsd.org" Date: Thu, 3 Feb 2011 10:08:22 -0800 Thread-Topic: Ethernet Drivers: Question on Sending Received Packets to the FreeBSD Network Stack Thread-Index: AcvDzVfmWheTpRb6QzKV2V2AFNGtaw== Message-ID: <75E1A2A7D185F841A975979B0906BBA6774DD4D902@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-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2011 18:23:33 -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.