[Differential] D20276: [bhyve][virtio-net] Allow guest VM's to set JUMBO MTU in case of using the VALE switch.

v.maffione_gmail.com (Vincenzo Maffione) phabric-noreply at FreeBSD.org
Thu May 16 20:14:55 UTC 2019


v.maffione_gmail.com added inline comments.

INLINE COMMENTS

> pci_virtio_net.c:407
>  
> -	for (r = nmd->cur_tx_ring; ; ) {
> -		struct netmap_ring *ring = NETMAP_TXRING(nmd->nifp, r);
> -		uint32_t cur, idx;
> -		char *buf;
> +	struct netmap_ring *ring = NETMAP_TXRING(nmd->nifp, nmd->cur_rx_ring);
>  

nmd->cur_tx_ring

Why did you drop the iterating over all the possible tx rings?

CHANGES SINCE LAST ACTION
  https://reviews.freebsd.org/D20276/new/

REVISION DETAIL
  https://reviews.freebsd.org/D20276

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: aleksandr.fedorov_itglobal.com, #bhyve, jhb, rgrimes, krion, v.maffione_gmail.com
Cc: novel, olevole_olevole.ru, freebsd-virtualization-list, evgueni.gavrilov_itglobal.com, bcran


More information about the freebsd-virtualization mailing list