From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 2C8CD2BF6 for ; Fri, 16 Dec 2016 21:32:04 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id g23so45404911wme.1 for ; Fri, 16 Dec 2016 12:32:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=sBOg0W5ccVYCku51Nn9absw5Q2JJzcSBV7bDhoYYRcE=; b=g0svUrPgvBGweOVmcSb+XukT9mXzSqoXUUqm586WOTNuJfAA9ddZV3++UwFCM948Du 6aopxE2emNwzZqwwrqaKW5HcajQfg42j6dvOmapu8Y9+aIkP3+fwTb/7C6UXIF3qPeDq btwr+bF/b2GEJ3K3RDpBz5AEyh42Il2UjDe7tj12QAka0BGUYBL2TgxIBPDwxPD4d+iF 9f5Swzy1GQox4A3vVoaOEKblLu4/HP6WbIIpioXHr0TZSLlbRLCohuInKn0TxiqAHiFe A3Xl7I+N5koboSLniEXdNOISv+9Gkmw3tY17FAaG9SNepx0xG/9tWHXQHBYPURSHeH1Y wKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=sBOg0W5ccVYCku51Nn9absw5Q2JJzcSBV7bDhoYYRcE=; b=WRmioPWb+3iX7Djb9R790+9FJWwyY7gUWB1phL80crANXo8t35sUHxEztMzaJbbSYt IrqPuuQxiljiFrulaa3XBAIiuPf5+KGhxuAc+DcyU9YXZtUEgqHeTB3ZnrW7UcQjEOfJ RZ38mPeCNYnBgbi+Abbk6o7uXP8yTX8iVaEtyHrjG2duYe34V6tPLI/SkE4TSfGQGU8c ORzio/XwjfO9pgkTT8W3YLIy5nqzK1h2OOaeICB+FDybjMJ+AUxdaBGjeABpBMWo3U4H l9bZ0eVn9LcISkU0+yrFepwSTDv4jx0LOySVihYr7CKhAa0Pl1om/pGSaYl5uUb9ALgF tknw== X-Gm-Message-State: AIkVDXK6WUcymQVKQ1b+BodV4Gu7sukGtAvs0tscMGkGOBaNdAWJZ2nytXAYqalHhrk4ru96 X-Received: by 10.28.22.193 with SMTP id 184mr4327703wmw.100.1481920323946; Fri, 16 Dec 2016 12:32:03 -0800 (PST) Received: from ?IPv6:2a01:e35:8a8e:1b70:18c8:ab1b:b2a2:b9be? ([2a01:e35:8a8e:1b70:18c8:ab1b:b2a2:b9be]) by smtp.gmail.com with ESMTPSA id 204sm4903503wmj.7.2016.12.16.12.32.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 12:32:02 -0800 (PST) To: Ferruh Yigit , dev@dpdk.org References: <20161216143919.4909-1-ferruh.yigit@intel.com> <20161216190257.6921-1-ferruh.yigit@intel.com> <20161216190257.6921-24-ferruh.yigit@intel.com> Cc: Jingjing Wu , Helin Zhang , Bernard Iremonger From: Vincent JARDIN Organization: www.6wind.com Message-ID: <4ab71f12-5352-fa36-3691-929c8a2b8bbf@6wind.com> Date: Fri, 16 Dec 2016 21:31:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161216190257.6921-24-ferruh.yigit@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v5 23/29] app/testpmd: handle i40e in VF VLAN filter command 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 20:32:04 -0000 Le 16/12/2016 à 20:02, Ferruh Yigit a écrit : > +#ifdef RTE_LIBRTE_IXGBE_PMD > + if (strstr(dev_info.driver_name, "ixgbe") != NULL) > + ret = rte_pmd_ixgbe_set_vf_vlan_filter(res->port_id, > + res->vlan_id, res->vf_mask, is_add); > +#endif > +#ifdef RTE_LIBRTE_I40E_PMD > + if (strstr(dev_info.driver_name, "i40e") != NULL) > + ret = rte_pmd_i40e_set_vf_vlan_filter(res->port_id, > + res->vlan_id, res->vf_mask, is_add); > +#endif That's exactly what we need to avoid, it won't scale to many PMDs.