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 1291FA0588; Thu, 16 Apr 2020 13:07:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E469F1DBEF; Thu, 16 Apr 2020 13:07:26 +0200 (CEST) Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by dpdk.org (Postfix) with ESMTP id 75DA71DBE2 for ; Thu, 16 Apr 2020 13:07:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=626; q=dns/txt; s=iport; t=1587035245; x=1588244845; h=from:to:cc:subject:date:message-id:mime-version; bh=vQGu6RAaajGov5SM/KtUdQObjKZfZ6cbS/yZsrHFcw4=; b=LBLpQU/Xv133geywaXyV3K/YjJXniv8Ioiq3vJ17Emd1EBitjKE3pjZu ElrSLCJ5axFpxoET0CG973LOAPtKajqH9eQTw3+RPriu7IuKaYEcJL0p6 ITTIf7zwqWL4/z+Rb3RocEFaIvSGPb3QW7a+rJKgrQfYoZf2B55LzsFFf 0=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CwAAC4O5he/4sNJK1mHQEBAQkBEQU?= =?us-ascii?q?FAYFpBgELAYIogUEBATAqCp8aj1OBewoBAQEMAQEvBAEBhESCDCQ2Bw4CAwE?= =?us-ascii?q?BCwEBBQEBAQIBBQRthWKGH1KBPg4FgyaCWCWuVYF0M4VPg0yBQIE4AYdQhGU?= =?us-ascii?q?agUE/hF+FG4UkBLFqgk6XUwwdgkOZcQGsRAIRFYFZDiSBV00jFYMkUBgNoCI?= =?us-ascii?q?/AQExjjYBgQ8BAQ?= X-IronPort-AV: E=Sophos;i="5.72,390,1580774400"; d="scan'208";a="665278578" Received: from alln-core-6.cisco.com ([173.36.13.139]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 16 Apr 2020 11:07:24 +0000 Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by alln-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 03GB7OY1021033 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for ; Thu, 16 Apr 2020 11:07:24 GMT Received: from ja-VirtualBox.cisco.com (10.61.86.203) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 16 Apr 2020 06:07:23 -0500 From: Jakub Grajciar To: CC: Jakub Grajciar Date: Thu, 16 Apr 2020 13:07:06 +0200 Message-ID: <20200416110706.3409-1-jgrajcia@cisco.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.61.86.203] X-ClientProxiedBy: xch-rcd-002.cisco.com (173.37.102.12) To XCH-RCD-001.cisco.com (173.37.102.11) X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com X-Outbound-Node: alln-core-6.cisco.com Subject: [dpdk-dev] [PATCH] net/memif: enable promisc mode 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" Signed-off-by: Jakub Grajciar --- drivers/net/memif/rte_eth_memif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c index 81d71c53a..0ac38044e 100644 --- a/drivers/net/memif/rte_eth_memif.c +++ b/drivers/net/memif/rte_eth_memif.c @@ -1498,6 +1498,7 @@ memif_create(struct rte_vdev_device *vdev, enum memif_role_t role, data->numa_node = numa_node; data->dev_link = pmd_link; data->mac_addrs = ether_addr; + data->promiscuous = 1; eth_dev->dev_ops = &ops; eth_dev->device = &vdev->device; -- 2.17.1