From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41738A2EDB for ; Wed, 2 Oct 2019 01:30:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 91993324D; Wed, 2 Oct 2019 01:30:31 +0200 (CEST) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by dpdk.org (Postfix) with ESMTP id F38E12C02 for ; Wed, 2 Oct 2019 01:30:29 +0200 (CEST) Received: by mail-pg1-f170.google.com with SMTP id y35so10822507pgl.1 for ; Tue, 01 Oct 2019 16:30:29 -0700 (PDT) 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=agMn65fYVt0Vjg7uLMApSQr7L0TqjX8e1RiKtZtkeT0=; b=nTPGPkzsZRVCNo/BzSBVfDxpGwQRykyHgFlE2b9rEa2onDFBmHlCGw3mt8G/zW6WYJ wN1UAHHSPNdTFRc3Ts60uRp+n+bciZO+LX+s8SlCUS4q9yFSTu6vlJSXBEj3XFvNY4js eTqTGsuOGtHtT3kYjEdB/JgCH105Uy+khlyDD1HqNjC0oH8g0QI29Qf/on34NV0QIjzB iybXhzKKlbG3cFBV6VUl2SvGaontVcIE3Hvgu2jlJx6ulgkoW+doT/KBNGc+HEWA4iHv YvtgCSaGpjFNFwEL7qzc1xlfF+yg/EU5nsmGWnLgl7hEnGbwbbFon/Y54x0KwQMCHqfk AZ5Q== 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=agMn65fYVt0Vjg7uLMApSQr7L0TqjX8e1RiKtZtkeT0=; b=sRl/Ae4qnlCYH/1DcGB7SlnZHjDjvELX9UiJmUXnSy7T1DxG1DTcu5spCE7vQXR5/2 9pWMs85J5sRYN3dSWz+X3krytl89Ny3x9FhqHy5oDNhM8g6cTdFRBY1rhIVdAeU2radq FyjAS1vTIcHr5UJv9Y8tt/4aV9UzFp/feN+efXSytcH2C/8aCPJ+GpMiC3oNnVrCc8qo f/mz1DrOEI+4q5oAcWL9yVBrNbqZBqcK8/Bd/1ofnHVveic4pelQam/W35Yv0aljVj0d akocHf6+YWCZOqvEUPTjxPoh1rLhaVDlNVKXhuK6rGDaEdR4iWjX0H1s4VBN8LePu/Pq tIjw== X-Gm-Message-State: APjAAAVqokfng3+5o1u1TxGaQ5V2xrjyQn0sBJaSHekHylgSDm2tzZkl 0bYwN0NYViOFxnm2QGxXP48FmA== X-Google-Smtp-Source: APXvYqwjobYRf0BNyR+wgdmshoV6bam0gUwU9vuRmNcwV0YbX/3F/camm7UvwI7s4Bnv0vx2iuLqIQ== X-Received: by 2002:a63:4243:: with SMTP id p64mr410790pga.343.1569972627996; Tue, 01 Oct 2019 16:30:27 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id b4sm3417025pju.16.2019.10.01.16.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 16:30:27 -0700 (PDT) Date: Tue, 1 Oct 2019 16:30:26 -0700 From: Stephen Hemminger To: Geetha Anandakrishnan Cc: dev@dpdk.org Message-ID: <20191001163026.0d6ff8a1@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] Qn on vlan filtering for promiscuous ports VMXNET3 driver 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, 1 Oct 2019 11:43:37 -0700 Geetha Anandakrishnan wrote: > Hi All, > > I am experimenting DPDK with VMXNET3. I see that the vmxnet3 driver code > does not set vlan filtering if port is in promiscuous mode. > I modified the vmxnet3 code to skip the check for promiscuous port, code > below. But it does not seem like filtering works with this change, when > port is in prom. mode. > > Does the firmware not look at the vlan table if port is in promiscuous > mode. > > Any help is appreciated. > > Thanks!! The idea behind promiscious mode is to get all packets. It doesn't make sense to do vlan filtering in HW then.