From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 797CD2BE1 for ; Thu, 4 Jan 2018 08:24:03 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2018 23:24:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,506,1508828400"; d="scan'208";a="7933823" Received: from dpdk-xiao-1.sh.intel.com ([10.67.110.153]) by orsmga008.jf.intel.com with ESMTP; 03 Jan 2018 23:24:01 -0800 From: Xiao Wang To: tiwei.bie@intel.com Cc: dev@dpdk.org, yliu@fridaylinux.org, stephen@networkplumber.org, Xiao Wang Date: Thu, 4 Jan 2018 07:59:35 -0800 Message-Id: <1515081578-30649-1-git-send-email-xiao.w.wang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1515051700-117262-3-git-send-email-xiao.w.wang@intel.com> References: <1515051700-117262-3-git-send-email-xiao.w.wang@intel.com> Subject: [dpdk-dev] [PATCH v4 0/3] net/virtio: support GUEST ANNOUNCE X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 07:24:03 -0000 v4: - Move spinlock lock/unlock into dev_pause/resume. - Separate out a patch for packet injection. v3: - Remove Tx function code duplication, use a special pointer for rarp injection. - Rename function generate_rarp to virtio_notify_peers, replace 'virtnet_' with 'virtio_'. - Add comment for state_lock. - Typo fix and comment improvement. v2: - Use spaces instead of tabs between the code and comments. - Remove unnecessary parentheses. - Use rte_pktmbuf_mtod directly to get eth_hdr addr. - Fix virtio_dev_pause return value check. Xiao Wang (2): net/virtio: make control queue thread-safe net/virtio: support GUEST ANNOUNCE drivers/net/virtio/virtio_ethdev.c | 145 +++++++++++++++++++++++++++++++- drivers/net/virtio/virtio_ethdev.h | 1 + drivers/net/virtio/virtio_pci.h | 7 ++ drivers/net/virtio/virtio_rxtx.c | 3 +- drivers/net/virtio/virtio_rxtx.h | 1 + drivers/net/virtio/virtio_rxtx_simple.c | 2 +- Xiao Wang (3): net/virtio: make control queue thread-safe net/virtio: add packet injection method net/virtio: support GUEST ANNOUNCE drivers/net/virtio/virtio_ethdev.c | 159 +++++++++++++++++++++++++++++++- drivers/net/virtio/virtio_ethdev.h | 7 ++ drivers/net/virtio/virtio_pci.h | 7 ++ drivers/net/virtio/virtio_rxtx.c | 3 +- drivers/net/virtio/virtio_rxtx.h | 1 + drivers/net/virtio/virtio_rxtx_simple.c | 2 +- drivers/net/virtio/virtqueue.h | 11 +++ 7 files changed, 185 insertions(+), 5 deletions(-) -- 1.8.3.1