From patchwork Fri Mar 6 00:45:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 3897 X-Patchwork-Delegate: yuanhan.liu@linux.intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 580255A84; Fri, 6 Mar 2015 01:45:38 +0100 (CET) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by dpdk.org (Postfix) with ESMTP id 206075A72 for ; Fri, 6 Mar 2015 01:45:36 +0100 (CET) Received: by padfb1 with SMTP id fb1so37751608pad.7 for ; Thu, 05 Mar 2015 16:45:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bunrKQ+u/ven2UB2veK+Q3rqnPSw+kLaX+Ysz06+psQ=; b=VXsaXlxjlb/KoezwrLHWgp77Pcy+tUYH9ixfEwMqKNG/LFI7XmiO9K5Z0vu/R2CY7C YC2V+p5DTb7kWg6ga8WDW+c7r3vWtrb+MkNHSynNSYq4uiho/huLiZYBgfIJCTIw6S+3 yfiEsKMWQRF6pPbyQzoBCyL4atYHnKAhFjmvOSskVGTAr2q9z7hOBLEBhifuFkz3ECwQ aN/GnsF0Lx3QWOOq2CltqoEihUBXN2wb63ilhQZb6gtXbNR/Re+EdSLTqGxeR862ma49 opH7dnPZ6FyYVP8e5bs/SO1ZSlQKMFdH/UG6yqs8QHBVfNYKBUXZ4GoAKokg93cJCijX Ok9g== X-Gm-Message-State: ALoCoQnsMe9B6PauYK2KTPT+6IpwCjyJUNQuwJ0QhywNsPoq2smOt7fdVV9swHT2kP56zzcsuNAD X-Received: by 10.70.64.163 with SMTP id p3mr20854029pds.118.1425602735434; Thu, 05 Mar 2015 16:45:35 -0800 (PST) Received: from urahara.brocade.com (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id a4sm8005030pdf.57.2015.03.05.16.45.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Mar 2015 16:45:34 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 5 Mar 2015 16:45:26 -0800 Message-Id: <1425602726-26538-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1425602726-26538-1-git-send-email-stephen@networkplumber.org> References: <1425602726-26538-1-git-send-email-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 2/2] virtio: allow running w/o vlan filtering X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Vlan filtering is an option, and not a requirement. If host does not support filtering then it can be done in software. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_virtio/virtio_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_pmd_virtio/virtio_ethdev.c b/lib/librte_pmd_virtio/virtio_ethdev.c index e2600de..5e43411 100644 --- a/lib/librte_pmd_virtio/virtio_ethdev.c +++ b/lib/librte_pmd_virtio/virtio_ethdev.c @@ -1288,7 +1288,6 @@ virtio_dev_configure(struct rte_eth_dev *dev) && !vtpci_with_feature(hw, VIRTIO_NET_F_CTRL_VLAN)) { PMD_DRV_LOG(NOTICE, "vlan filtering not available on this host"); - return -ENOTSUP; } if (pci_dev->driver->drv_flags & RTE_PCI_DRV_INTR_LSC)