From patchwork Mon Feb 20 15:33:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joao Martins X-Patchwork-Id: 9583091 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 597D6604A0 for ; Mon, 20 Feb 2017 15:34:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EF1A28874 for ; Mon, 20 Feb 2017 15:34:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 325AF28878; Mon, 20 Feb 2017 15:34:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 303A628874 for ; Mon, 20 Feb 2017 15:33:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfpvC-0000Em-Qu; Mon, 20 Feb 2017 15:30:38 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfpvA-0000EW-KF for xen-devel@lists.xenproject.org; Mon, 20 Feb 2017 15:30:37 +0000 Received: from [193.109.254.147] by server-8.bemta-6.messagelabs.com id FF/29-21675-B9B0BA85; Mon, 20 Feb 2017 15:30:35 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCKsWRWlGSWpSXmKPExsXSO6nOVXcW9+o Ig+UnxSy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oxbG26yFbzoYa2YcPktSwNjw2yWLkZODiGB iUwSNy5KdTFyAdl/GSVu/13HBuFsZJR4NHsaC4TTxijR+GQGI0iLsICnRNvzp2C2iICRROedy 1BFHcwS95YsZgZJMAucYpI4vxVsB5uAnkTr+c9gcV4BTYk1+y8xgdgsAqoSv9b9YIWIC0qcnP kErJ5TwEJixZrDbBBz/CV2bf0P1ishYCjxeeNS5gmM/LOQtMxCUgZh60nsuP6LFcKWl2jeOhs q7iex+fAJRpj49rdzoOLhEn+ntQHZHEB2gMSeFktMJZESKzcdZ17AyLWKUaM4tagstUjX0Egv qSgzPaMkNzEzR9fQwEwvN7W4ODE9NScxqVgvOT93EyMwbhiAYAfj5Y0BhxglOZiURHnvLFkVI cSXlJ9SmZFYnBFfVJqTWnyIUYaDQ0mC9xTX6gghwaLU9NSKtMwcYATDpCU4eJREeCeBpHmLCx JzizPTIVKnGI05Tt04/ZKJ48vOMy+ZhFjy8vNSpcR5z4CUCoCUZpTmwQ2CJZZLjLJSwryMQKc J8RSkFuVmlqDKv2IU52BUEua9CjKFJzOvBG7fK6BTmIBOuemxEuSUkkSElFQD413jZeY6C04k L8oJcrvAeoXvz78rkY6Op5zaV1WIfIg789Daprj3+HqG2D7DjaEcFRK2F+I61jKtXBnWoPgk2 NgnZfqCvM3xJt9EnbgXaZQYHDzgu4Gx6XjX38zjv1k3cGTtFhbQT/awTzv+O8uZb5IPI1f6p6 pjBquWV8gcOPRYpO1Npv4UJZbijERDLeai4kQAEuQUeycDAAA= X-Env-Sender: joao.m.martins@oracle.com X-Msg-Ref: server-4.tower-27.messagelabs.com!1487604632!87147485!1 X-Originating-IP: [141.146.126.69] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTQxLjE0Ni4xMjYuNjkgPT4gMjc3MjE4\n X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 54536 invoked from network); 20 Feb 2017 15:30:33 -0000 Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by server-4.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 20 Feb 2017 15:30:33 -0000 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v1KFUGno026212 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 Feb 2017 15:30:16 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v1KFUFMo020698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 Feb 2017 15:30:16 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v1KFUEG3011124; Mon, 20 Feb 2017 15:30:14 GMT Received: from [192.168.1.66] (/89.114.92.174) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Feb 2017 07:30:13 -0800 To: Konrad Rzeszutek Wilk References: <1478504326-68105-1-git-send-email-jianfeng.tan@intel.com> <83319780-26e9-afb6-74cd-20c07dad04a7@intel.com> <1915354.hxpEe7tUeI@xps13> <20170216133657.GB14695@dhcp-whq-twvpn-1-vpnpool-10-159-157-38.vpn.oracle.com> <20170217160731.GA30539@char.us.ORACLE.com> From: Joao Martins Message-ID: <58AB0C46.5020601@oracle.com> Date: Mon, 20 Feb 2017 15:33:26 +0000 MIME-Version: 1.0 In-Reply-To: <20170217160731.GA30539@char.us.ORACLE.com> X-Source-IP: userv0022.oracle.com [156.151.31.74] Cc: "Tan, Jianfeng" , yuanhan.liu@linux.intel.com, dev@dpdk.org, bruce.richardson@intel.com, Xen-devel , Vincent JARDIN , Thomas Monjalon Subject: Re: [Xen-devel] [dpdk-dev] [PATCH] maintainers: claim responsability for xen X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP On 02/17/2017 04:07 PM, Konrad Rzeszutek Wilk wrote: > On Thu, Feb 16, 2017 at 10:51:44PM +0100, Vincent JARDIN wrote: >> Le 16/02/2017 à 14:36, Konrad Rzeszutek Wilk a écrit : >>>> Is it time now to officially remove Dom0 support? >>> So we do have an prototype implementation of netback but it is waiting >>> for review of xen-devel to the spec. >>> >>> And I believe the implementation does utilize some of the dom0 >>> parts of code in DPDK. >> >> Please, do you have URLs/pointers about it? It would be interesting to share >> it with DPDK community too. > > Joao, would it be possible to include an tarball of the patches? I know > they are no in the right state with the review of the staging > grants API - they are incompatible, but it may help folks to get > a feel for what DPDK APIs you used? OK, see attached - I should note that its a WIP as Konrad noted, but once the staging grants work is finished, the code would be improved to have it in better shape (as well as in feature parity) for a proper RFC [and adhering to the project coding style]. Joao From 726567a34c537d27285f65657c2c34a941093e91 Mon Sep 17 00:00:00 2001 From: Joao Martins Date: Mon, 20 Feb 2017 13:33:34 +0000 Subject: [PATCH WIP 2/2] config: add xen-netback PMD option Default is disabled. Signed-off-by: Joao Martins --- config/common_base | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/common_base b/config/common_base index 7830535..a2f0330 100644 --- a/config/common_base +++ b/config/common_base @@ -563,11 +563,16 @@ CONFIG_RTE_LIBRTE_VHOST_DEBUG=n CONFIG_RTE_LIBRTE_PMD_VHOST=n # -#Compile Xen domain0 support +# Compile Xen domain0 support # CONFIG_RTE_LIBRTE_XEN_DOM0=n # +# Compile Xen netback PMD +# +CONFIG_RTE_LIBRTE_PMD_XEN_NETBACK=n + +# # Enable warning directives # CONFIG_RTE_INSECURE_FUNCTION_WARNING=n -- 2.1.4