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 90C50A04AB; Tue, 12 Nov 2019 13:55:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A2CB12AB; Tue, 12 Nov 2019 13:55:19 +0100 (CET) Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) by dpdk.org (Postfix) with ESMTP id 37E84271 for ; Tue, 12 Nov 2019 13:55:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=915; q=dns/txt; s=iport; t=1573563318; x=1574772918; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=W/gMaoO50OwP+V9tfmaID9qmkTFakLOQ3SEv6JT0HfI=; b=WfSBom8Ur/ICHX6ojiX+jBB56GMNsbvhtWaz0LN0Nlx71IoX8howy6Cx qwpefSkiw7tDbcAiqC4razFy+hMKS6O98We1SRxrnrysRtE2Irpobi7M2 TyDjyFCRhBqZZx6ghzI3rPHc3gM989HwzbslcZKxomVjwcPPhuH9EZ7hJ g=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AHAACCqspd/5ldJa1lGgEBAQEBAQE?= =?us-ascii?q?BAQMBAQEBEQEBAQICAQEBAYFrBAEBAQELAYIfgXMqCpUzmS6BewkBAQEMAQE?= =?us-ascii?q?vAQGEQAKCHSQ1CA4CAwsBAQQBAQECAQUEbYVDhVEBAQEBAzo/DAQCAQgRBAE?= =?us-ascii?q?BHxAyHQgCBA4FCIYSrkOCJ4pJgTYBjBMYgX+EIz6KMwSND6EBCh2CCJU8I5l?= =?us-ascii?q?5qD0CERWBMiEBN4FYcBU7gmxQERSefEMxkCGBDwEB?= X-IronPort-AV: E=Sophos;i="5.68,296,1569283200"; d="scan'208";a="371016370" Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 12 Nov 2019 12:55:16 +0000 Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by rcdn-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id xACCtGsw020196 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 12 Nov 2019 12:55:16 GMT Received: from xch-aln-004.cisco.com (173.36.7.14) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 12 Nov 2019 06:55:16 -0600 Received: from xch-aln-004.cisco.com ([173.36.7.14]) by XCH-ALN-004.cisco.com ([173.36.7.14]) with mapi id 15.00.1473.003; Tue, 12 Nov 2019 06:55:15 -0600 From: "Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)" To: Thomas Monjalon CC: "dev@dpdk.org" , Ferruh Yigit , David Marchand , Anatoly Burakov Thread-Topic: [dpdk-dev] [PATCH v6] net/memif: zero-copy slave Thread-Index: AQHVkv91RZMeTp6hA0y6vR8dLNS/L6eGheMAgAABAICAAQDxkA== Date: Tue, 12 Nov 2019 12:55:15 +0000 Message-ID: <6be0215ad3db4daa83c69988dc125288@XCH-ALN-004.cisco.com> References: <20190822081833.11203-1-jgrajcia@cisco.com> <20191104110300.8369-1-jgrajcia@cisco.com> <3129101.eYSCb3BGBK@xps> In-Reply-To: <3129101.eYSCb3BGBK@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.61.161.248] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com X-Outbound-Node: rcdn-core-2.cisco.com Subject: Re: [dpdk-dev] [PATCH v6] net/memif: zero-copy slave 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" > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, November 11, 2019 4:25 PM > To: Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) > > Cc: dev@dpdk.org; Ferruh Yigit ; David Marchand > ; Anatoly Burakov > > Subject: Re: [dpdk-dev] [PATCH v6] net/memif: zero-copy slave > > I didn't get into details of this PMD, > but requesting an EAL property looks strange to me. > Is memif using directly some EAL memory? > Or is it using memory from mempool? > If it is from mempool, then the property should be requested to mempool. > Reminder: mempool memory is not always from EAL. Memif driver exposes memsegs to provide zero-copy. Each memseg list is cons= idered one memory region by the pmd. See net/memif/rte_eth_memif.c:memif_region_init_zc()