Vincenzo Maffione wrote:

> To receive a frame larger than the RX buffer size you need multiple
> netmap slots (as multiple descriptors are
> used by the hardware), looking at the NS_MOREFRAG flag.
> See the example code in utils/functional.c::rx_one().

This works fine -- thanks.

> Also TX may have per-slot limitations (e.g. due to the size of the NIC
> TX fifo), but this is usually > 9K, so using a single descriptor per
> packet should always
> be ok. However, you can also use multiple slots on the TX side (see
> utils/functional.c::tx_one()).

Trying to split TX frames into multiple buffers does not work, the NIC is 
sending 2048 byte frames (the buf_size I am using).

I will re-check my code.  Do I need a particular version of ixgbevf perhaps?

Joe Buehler
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to