Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 20:14:54 +0000
From:      "v.maffione_gmail.com (Vincenzo Maffione)" <phabric-noreply@FreeBSD.org>
To:        Phabricator <phabric-noreply@FreeBSD.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   [Differential] D20276: [bhyve][virtio-net] Allow guest VM's to set JUMBO MTU in case of using the VALE switch.
Message-ID:  <aefd49d764ec9e3441661832a33aee0a@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-pueoqfdkfh54jyuh6emz-req@reviews.freebsd.org>
References:  <differential-rev-PHID-DREV-pueoqfdkfh54jyuh6emz-req@reviews.freebsd.org>

index | next in thread | previous in thread | raw e-mail

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aefd49d764ec9e3441661832a33aee0a>