From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id B4DAD3238 for ; Mon, 26 Sep 2016 08:40:31 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 25 Sep 2016 23:40:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,398,1470726000"; d="scan'208";a="13211587" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by fmsmga005.fm.intel.com with ESMTP; 25 Sep 2016 23:40:30 -0700 From: Yuanhan Liu To: dev@dpdk.org Cc: Stephen Hemminger , Maxime Coquelin , "Michael S. Tsirkin" , Yuanhan Liu Date: Mon, 26 Sep 2016 14:40:56 +0800 Message-Id: <1474872056-24665-3-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1474872056-24665-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1474872056-24665-1-git-send-email-yuanhan.liu@linux.intel.com> Subject: [dpdk-dev] [PATCH 2/2] net/virtio: enable any layout feature X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2016 06:40:32 -0000 The feature VIRTIO_F_ANY_LAYOUT was actually supported by commit dd856dfcb9e7 ("virtio: use any layout on Tx"). But it's not enabled. Here this patch enables it. Signed-off-by: Yuanhan Liu --- drivers/net/virtio/virtio_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/virtio/virtio_ethdev.h b/drivers/net/virtio/virtio_ethdev.h index 04d626b..3e31e6a 100644 --- a/drivers/net/virtio/virtio_ethdev.h +++ b/drivers/net/virtio/virtio_ethdev.h @@ -64,6 +64,7 @@ 1u << VIRTIO_NET_F_CTRL_VLAN | \ 1u << VIRTIO_NET_F_MRG_RXBUF | \ 1u << VIRTIO_RING_F_INDIRECT_DESC | \ + 1u << VIRTIO_F_ANY_LAYOUT | \ 1ULL << VIRTIO_F_VERSION_1) /* -- 1.9.0