From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id 481829E4 for ; Wed, 16 Jan 2019 19:59:31 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id 101so3437066pld.6 for ; Wed, 16 Jan 2019 10:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p8elmg8GbTig4+77eucPFGbXdDc+LWFnfoBhs3fw+zU=; b=z5maIRX3gn9M70KZ5KGv6/Og45yxtOjDPF68ST+Q8VwLn41n82W+uLNl9r/fUI68dO HPR1VVuJUd8NJfGefZ5ltZPnqq9GXQd2LiPFDJeUT7qM4wMV86dlFgB0RoW5Ralgsj/+ sRZkv4xDm6TJiXf5jBjkKa/wqqENbd/qb2yt2yZnXCQzkTpxJw/jcPdhtcaTjo8OVKxf iaOGLB+2Cydt3KYz/LytshRLForn1qKQM53tAeT9IKYPkFhUgjMkRae5tVeMwykJP9yT LhmeoSAb59M0Mbd0xWUKj2R785cM3ljuMnNm4WehqWuM0xzo2CWz8ezH4kKHpbbQCXyw Zrdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p8elmg8GbTig4+77eucPFGbXdDc+LWFnfoBhs3fw+zU=; b=Sl8BwgAWMrcegLx7qwN76AfUtWL8R/bIwaieuN09c73cv0k5iaV5vNOvo//y7z2Kzo gkA7M5PY6nGVuqp9nvRcKdinoTyiYU8AAKfWk2giE00rpNiJwfv7n8c+zETEfylz7/36 9xusfz8M7cmJsoXbA0owzIPtZ0GVc/aFUZzWeX43cGAj3T8XNRR7aiAg8IhH7Nu2O+P2 E82HtOPmnLv55wsMauZ0UWpY+zxtw3HKX1KItoRaJkfxqxfthh9GBPPL9E7FPpsX0Ez1 2P7Ek3uy3ybWkT3hHBu5m/VUMkUEJtpM+IWFBz3sPHdn1032Pkt+4VduOZ4eVPO5w6jT BFCw== X-Gm-Message-State: AJcUukfg+fjH1/Dn5nP84+lDb4e5RQTbyXgbCZLL1zpk3heR0PTl5M3I LoKWP98aWJz+zEYXuxVKLRhcYQ== X-Google-Smtp-Source: ALg8bN6vQ/SJ5/dDETx8iYWO4LOH6vWFVyWSpCiBXVmHUWKG4xQRSe6ZApjOJbVQaNeGPJXimiZ23g== X-Received: by 2002:a17:902:4d46:: with SMTP id o6mr10947365plh.302.1547665170342; Wed, 16 Jan 2019 10:59:30 -0800 (PST) Received: from shemminger-XPS-13-9360 ([167.220.57.105]) by smtp.gmail.com with ESMTPSA id l64sm7846279pge.73.2019.01.16.10.59.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 10:59:30 -0800 (PST) Date: Wed, 16 Jan 2019 10:59:28 -0800 From: Stephen Hemminger To: Wei Zhao Cc: dev@dpdk.org, stable@dpdk.org, wenzhuo.lu@intel.com, qi.z.zhang@intel.com Message-ID: <20190116105928.792b8ac8@shemminger-XPS-13-9360> In-Reply-To: <1547613775-58027-1-git-send-email-wei.zhao1@intel.com> References: <1547613775-58027-1-git-send-email-wei.zhao1@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 0/3] promiscuous mode enable on VF 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: Wed, 16 Jan 2019 18:59:31 -0000 On Wed, 16 Jan 2019 12:42:52 +0800 Wei Zhao wrote: > There is need to enable promiscuous mode enable on VF, > pf host should also enable to support that. > > Zhao Wei (3): > net/ixgbe: promiscuous mode enable on VF > net/ixgbe: enable promiscous mode on PF host > net/ixgbe: update API version > > drivers/net/ixgbe/ixgbe_ethdev.c | 21 +++++++++++ > drivers/net/ixgbe/ixgbe_ethdev.h | 1 + > drivers/net/ixgbe/ixgbe_pf.c | 79 +++++++++++++++++++++++++++++----------- > 3 files changed, 79 insertions(+), 22 deletions(-) > Is there someway to check if PF on host allows promiscious mode (and fail the attempt to set it on VF if not allowed).