From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 1E607F98A for ; Fri, 16 Dec 2016 15:45:23 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id t79so37767623wmt.0 for ; Fri, 16 Dec 2016 06:45:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:date:message-id:in-reply-to:references:user-agent :subject:mime-version:content-transfer-encoding; bh=4htGT9AeHDchEVXfbUPKqvsSxV0eo8yQq2WUutfpnXs=; b=EeRafI6OQUb54Gnfrh1hTp4uiaVxQT7ueXoWzxv3bhnEpOv0XciBG9xZLhwdRmWAAa Lm+BOY6C90EZiashc4rfM9ZCig7pHSZJdg+p19ntWlojpHsjVPSb30RXkZrxXD+YLTug DZ5JsSmQZ98P2S530CscUp7nIfgphrduf+v5uC3zoA3m+2XsGE7nQx98vW4+zXyOXV2f nF1dDaEHrUuogpBoAqSilX7tyu+mqSHlSgB9paulBt4WyBnEGY1PGGBaWilpL7NuFB2F fmHgOoErB9Cnv+jubo/oq3d0Lq39UK/Q59u4ixlmf96/G7lfYJ3xeT0NhiC103IzkVvk tgkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:user-agent:subject:mime-version :content-transfer-encoding; bh=4htGT9AeHDchEVXfbUPKqvsSxV0eo8yQq2WUutfpnXs=; b=Xtwc8uhqzVfYecNh/3W4ny56sPQa7GqQSHbPbI3N91MrnoGUoFEVIHqqPaL0H5mDvX o/y7dIQTi5nbxYb+vf7rFG4zwMkPv5K5OEtLx5QcQ66I2UGzFKRv13/P9ulZtZMsWGJC WgJShq3QaKETyBQaEoxu2w+77O6Yc1ulFTmIvlfhX60C4FBb95/NP6gCkeOb1uSFH+Z/ Un1QmIDioEBz0va3KRieBslS19hFYaVq9ULN2qz7F4PqZUu/oxioYYcecSgl/o4IZdsy JMMQOg0l4+e1ALnutpQ4cA9Zm58bw/AW/4GWwLQj0K6m2eneDhOWnh4Fc0MpCXNxzEBe v22Q== X-Gm-Message-State: AIkVDXK2BNkieOFF/PGuF6rCFP/+ZNY2fRkWheh2yZVjoJ03erx3YC4UhS2dKwxJAB6hkLf4 X-Received: by 10.28.147.134 with SMTP id v128mr3223880wmd.3.1481899523551; Fri, 16 Dec 2016 06:45:23 -0800 (PST) Received: from [100.102.57.143] ([80.215.170.227]) by smtp.gmail.com with ESMTPSA id f126sm3605463wme.22.2016.12.16.06.45.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 06:45:22 -0800 (PST) From: Vincent Jardin To: Ferruh Yigit , CC: Jingjing Wu , Helin Zhang Date: Fri, 16 Dec 2016 15:45:21 +0100 Message-ID: <159081833e8.27fc.bb328046f2889bc8f44aafa891a44dd2@6wind.com> In-Reply-To: <20161216143919.4909-1-ferruh.yigit@intel.com> References: <1481835919-36488-1-git-send-email-qi.z.zhang@intel.com> <20161216143919.4909-1-ferruh.yigit@intel.com> User-Agent: AquaMail/1.7.1-88 (build: 100700100) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v4 00/29] Support VFD and DPDK PF + kernel VF on i40e 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: Fri, 16 Dec 2016 14:45:24 -0000 I do not see test to validate that the PF userland will look like a Linux PF. I am getting concerned that it is a bad solution since we have two/three PF mailboxes which may not be consistent: Linux, DPDK, VMware. Le 16 décembre 2016 3:39:36 PM Ferruh Yigit a écrit : > 1, VF Daemon (VFD) > VFD is an idea to control all the VFs from PF. > As we need to support the scenario kernel PF + DPDK VF, > DPDK follows the interface between kernel PF + kernel VF. > We don't want to introduce too many new messages between PF and VF. > So this patch set adds some new APIs to control VFs directly from PF. > The new APIs include, > 1) set VF MAC anti-spoofing > 2) set VF VLAN anti-spoofing > 3) set TX loopback > 4) set VF unicast promiscuous mode > 5) set VF multicast promiscuous mode > 6) set VF MTU > 7) get/reset VF stats > 8) set VF MAC address > 9) set VF VLAN stripping > 10) VF VLAN insertion > 12) set VF broadcast mode > 12) set VF VLAN tag > 13) set VF VLAN filter > VFD also includes VF to PF mailbox message management by APP. > When PF receives mailbox messages from VF, PF should call the callback > provided by APP to know if they're permitted to be processed. > > 2, Implement VF MAC address setting on VF. > > 3, Support the scenario DPDK PF + kernel VF. > > v4: > - rebase on latest next-net > - move patch 10/29 testpmd part to patch 18/29 > > v3: > - fix issue that VF does not work for i40e > - remove patch for VDMq receive mode init > - move get/reset VF stats API into rte_pmd_i40 > > v2: > - fix the compile issues. > - fix the checkpatch warning and typo. > - update the commit log of some patches. > - fix the invalid port ID issue of testpmd. > > > Bernard Iremonger (7): > net/i40e: add set VF VLAN insert function > net/i40e: set VF broadcast mode from PF > net/i40e: set VF VLAN tag from PF > net/i40e: set VF VLAN filter from PF > app/testpmd: add command to test VF broadcast mode on i40e > app/testpmd: add command to test VF VLAN tag on i40e > app/testpmd: handle i40e in VF VLAN filter command > > Chen Jing D(Mark) (6): > net/i40e: add VF VLAN strip func > net/i40e: change version number to support Linux VF > net/i40e: return correct VSI id > net/i40e: parse more VF parameter and configure > net/i40e: support Linux VF to configure IRQ link list > net/i40e: enhance in sanity check of MAC > > Ferruh Yigit (3): > net/i40e: set VF MAC from PF support > net/i40e: set VF MAC from VF support > net/i40e: fix VF MAC address assignment > > Qi Zhang (3): > net/i40e: enable VF MTU change > net/i40e: fix VF reset flow > net/i40e: set/clear VF stats from PF > > Wenzhuo Lu (10): > net/i40e: support link status notification > net/i40e: add callback to user on VF to PF mbox msg > net/i40e: set VF MAC anti-spoofing from PF > net/i40e: set VF VLAN anti-spoofing from PF > net/i40e: set Tx loopback from PF > net/i40e: set VF unicast promisc mode from PF > net/i40e: set VF multicast promisc mode from PF > app/testpmd: use VFD APIs on i40e > app/testpmd: use unicast promiscuous mode on i40e > app/testpmd: use multicast promiscuous mode on i40e > > app/test-pmd/Makefile | 2 + > app/test-pmd/cmdline.c | 473 +++++++++++++++- > app/test-pmd/config.c | 17 +- > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 32 ++ > drivers/net/i40e/Makefile | 4 +- > drivers/net/i40e/i40e_ethdev.c | 847 +++++++++++++++++++++++++++- > drivers/net/i40e/i40e_ethdev.h | 5 +- > drivers/net/i40e/i40e_ethdev_vf.c | 82 ++- > drivers/net/i40e/i40e_pf.c | 417 ++++++++++++-- > drivers/net/i40e/i40e_pf.h | 9 +- > drivers/net/i40e/rte_pmd_i40e.h | 328 +++++++++++ > drivers/net/i40e/rte_pmd_i40e_version.map | 20 + > 12 files changed, 2129 insertions(+), 107 deletions(-) > create mode 100644 drivers/net/i40e/rte_pmd_i40e.h > > -- > 2.9.3 >