From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linhaifeng Subject: virtio-net: why not always to set avail->flags to VRING_AVAIL_F_NO_INTERRUPT Date: Wed, 3 Jun 2015 14:32:39 +0800 Message-ID: <556E9F87.7030202@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , "rusty@rustcorp.com.au >> Rusty Russell" , "Michael S. Tsirkin" To: Return-path: Received: from szxga01-in.huawei.com ([58.251.152.64]:48828 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbbFCGe3 (ORCPT ); Wed, 3 Jun 2015 02:34:29 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Hi, I'm a newbie and have a question about vring_new_virtqueue function. Why we set avail->flags to VRING_AVAIL_F_NO_INTERRUPT when no callbacks? I think we should set avail->flags to VRING_AVAIL_F_NO_INTERRUPT even if no callbacks.