Date: Mon, 19 Mar 2018 15:49:13 -0400 From: Joe Buehler <aspam@cox.net> To: Vincenzo Maffione <v.maffione@gmail.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: netmap ixgbevf mtu Message-ID: <5AB01439.3090003@cox.net> In-Reply-To: <NvKT1x00R3vRYD501vKtWK> References: <5AAC49BE.3030508@cox.net> <5AAC4A96.1040107@cox.net> <NvKT1x00R3vRYD501vKtWK>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5AB01439.3090003>