From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH v2 07/15] virtio_net: drop config_enable Date: Mon, 6 Oct 2014 17:28:01 +0200 Message-ID: <20141006172801.1f2e520e.cornelia.huck@de.ibm.com> References: <1412608214-31944-1-git-send-email-mst@redhat.com> <1412608214-31944-8-git-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org To: "Michael S. Tsirkin" Return-path: In-Reply-To: <1412608214-31944-8-git-send-email-mst@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org On Mon, 6 Oct 2014 18:11:05 +0300 "Michael S. Tsirkin" wrote: > Now that virtio core ensures config changes don't arrive during probing, > drop config_enable flag in virtio net. > On removal, flush is now sufficient to guarantee that no change work is > queued. > > This help simplify the driver, and will allow setting DRIVER_OK earlier > without losing config change notifications. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/net/virtio_net.c | 27 ++++----------------------- > 1 file changed, 4 insertions(+), 23 deletions(-) Reviewed-by: Cornelia Huck