Ethernet Drivers: Question on Sending Received Packets to the FreeBSD Network Stack

From: David Somayajulu <david.somayajulu_at_qlogic.com>
Date: Thu, 3 Feb 2011 10:08:22 -0800
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 the above callback function?

In other words should (struct *mbuf) above always correspond to a single Ethernet Frame? I am not sure if I missed something, but I gathered from a quick 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 Corporation 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 notify the sender immediately by reply e-mail and then delete this message.
Received on Thu Feb 03 2011 - 17:23:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC