From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent JARDIN Subject: Re: [PATCH v5 00/29] Support VFD and DPDK PF + kernel VF on i40e Date: Tue, 10 Jan 2017 14:29:55 +0100 Message-ID: References: <4341B239C0EFF9468EE453F9E9F4604D3C5CA3DA@shsmsx102.ccr.corp.intel.com> <586D647A.5040607@research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: kaustubh@research.att.com, az5157@att.com, "Chen, Jing D" To: Scott Daniels , dev@dpdk.org Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 00FE81E2F for ; Tue, 10 Jan 2017 14:29:59 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id c85so127941627wmi.1 for ; Tue, 10 Jan 2017 05:29:59 -0800 (PST) In-Reply-To: <586D647A.5040607@research.att.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Scott, Le 04/01/2017 à 22:09, Scott Daniels a écrit : > With holidays we are a bit late with our thoughts, but would like to > toss them into the mix. Same, I hope I am not missing emails. I do appreciate your arguments, it provides lot of light. See below, > The original NAK is understandable, however having the ability to > configure the PF via DPDK is advantageous for several reasons: > > 1) While some functions may be duplicated and/or available from the kernel > driver, it is often not possible to introduce new kernel drivers into > production without a large amount of additional testing of the entire > platform which can cause a significant delay when introducing a DPDK based > product. If the PF control is a part of the DPDK environment, then only > the application needs to pass the operational testing before deployment; a > much more simple task. So we agree: you confirm that your foresee the benefits of using DPDK to *bypass the role of the Kernel being the PF* of reference for the hypervisor. > 2) If the driver changes are upstreamed into the kernel proper, the > difficulty of operational readiness testing increases as a new kernel is > introduced, and further undermines the ability to quickly and easily > release a DPDK based application into production. While the application > may eventually fall back on driver and/or kernel support, this could be > years away. I do agree with the benefits of the agilities and the upsides it brings. But they are other options to get the same agility without creating a fragmentation of PFs. For example, you do not have to update the whole kernel, you can just update the PF kernel module that can be upgraded with the latest needed features. > 3) As DPDK is being used to configure the NIC, it just seems to make > sense, for consistency, that the configuration capabilities should include > the ability to configure the PF as is proposed. From this perspective, the kernel modules are fine for the PF: most kernels of hypervisors support it without the need to upgrade their kernels. To summarize, I understand that you need a flexible way to upgrade PF features without touching/changing the kernel. So let's check the kernel module option? VFD brings some interesting capabilities, could it be a way to push and stimulate the i40e features instead of using DPDK? https://sourceforge.net/projects/e1000/files/i40e%20stable/ for instance could be better stimulated. Best regards, Vincent