On 2/3/11 10:08 AM, David Somayajulu wrote:
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.

yes only one.
the linkages you see in the mbuf definition are for when you are putting it into some queue (interface, socket, reassembly, etc).

I had never considered passing a set of packets, but after my initial scoffing thoughts I realized that it would actually be a very interesting thought experiment to see if the ability to do that would be advantageous in any way. I tmay be a way to reduce some sorts of
overhead if using interrupt mitigation.

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.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"



_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to