From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 52EA7A054F; Tue, 2 Mar 2021 00:24:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC36540693; Tue, 2 Mar 2021 00:24:00 +0100 (CET) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id 6DD6240142 for ; Tue, 2 Mar 2021 00:23:59 +0100 (CET) Received: by mail-lf1-f50.google.com with SMTP id f1so28329336lfu.3 for ; Mon, 01 Mar 2021 15:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yyQTht78KX5ik730kcjmFRDD9G5xsEH8niuVDhBLtgo=; b=g/pzK2XlZarvBBP69ILrrfTkTEgg1WOJOMQUSYM4LxPWVAUtKsdfiTbYVU3DZ1geC9 Ciomhf2sBE/V0Wd1Hg79WBqNsj905X/NILqLCDc4Q8RBSKm4R9WG4Gz25YDHnjjed032 wqnNgL++bZmXABun8u6C0B3W01BURhV8uQYlasfW9cr6A/22jnoyduunKYW4mmY+IBFX Wcd8ZX8SZ7X9sUUdySKLJJHOKiToMwxG0oQCpvXS4kBLkbUV+4wDQwvgMDX32Np3l4ma 1BMV3MuTpBRoFdi/L1Tt7ora28LowIEkOPVHgkBai78yPZPZya5S0FXi1AA5+GdWDvex ko+A== 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=yyQTht78KX5ik730kcjmFRDD9G5xsEH8niuVDhBLtgo=; b=LyL4HI66yFnBPyDAhMC7RxgDTGSqoIQlveVd8xmaoVfYtzv1ax2kHm6nx+q5aabF3G zVGnr3/5D5voGmF3xpU46hLRYVUpwlGmk/g3M5+drVeVZPGoy1a5ia+mYNO/0pgufi3B Wai7jNQh8ONFWPy+QJ0aEKrB4PlWmyEOmS+K3kmX/FgxCcdBILAhX84qhpCV/krYW1e+ cQjDZsj89RaeeebJv3Do1byOMeWjfDie5IStwKeQts3qOQHYuMHvj7W0zEzTJrpCST8l kqenkKdFzy8APuIK6w/comvOwegALwJk+bb6OUHD+McljY+LHNgmBZ5CNF4OzfWKmTO6 fv9w== X-Gm-Message-State: AOAM532L9hiJG8+0NVZnmSZKT1aeCk6lk7NOsRaIBwrlwwxDcdlB+tWz Sgb5yuYV8mArcv2VqEwNRzI= X-Google-Smtp-Source: ABdhPJymAavUfCWQrZlGSgaaQqn3RmzE+dkRAwKKCunKpfv+h4tz+uQD/dpsHhF8/enbS93wXiejtQ== X-Received: by 2002:ac2:5444:: with SMTP id d4mr11185370lfn.126.1614641039026; Mon, 01 Mar 2021 15:23:59 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id s23sm1860208ljm.50.2021.03.01.15.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Mar 2021 15:23:58 -0800 (PST) Date: Tue, 2 Mar 2021 02:23:57 +0300 From: Dmitry Kozlyuk To: Nick Connolly Cc: Ferruh Yigit , dev@dpdk.org, Tyler Retzlaff , Mike Wells , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Jie Zhou Message-ID: <20210302022357.4d91cd15@sovereign> In-Reply-To: <20210302020559.6d3317d7@sovereign> References: <20210214012013.23165-1-dmitry.kozliuk@gmail.com> <20210214021616.26970-1-dmitry.kozliuk@gmail.com> <20210214021616.26970-5-dmitry.kozliuk@gmail.com> <6c5e9d34-abfa-d808-eef0-165315baf3ce@intel.com> <20210225220440.2bda87c3@sovereign> <20210226021001.73829588@sovereign> <826eb0d3-3c0b-7581-99be-77e9bb6e8fa2@mayadata.io> <20210302020559.6d3317d7@sovereign> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 4/6] net/pcap: add libpcap wrappers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 2021-03-02 02:05, Dmitry Kozlyuk: > 2021-03-01 21:43, Nick Connolly: > > > Complete removal of non-standard dependencies in headers is within a grasp. > > > Then we can remove shims and include whatever needed. > > > Thoughts? > > Sounds good. A couple of 'gotchas' that I've come across (but may not be > > an issue for DPDK): > > > > * Memory allocation / free that spans a dll boundary (see earlier email). > > Not sure which email you mean, could you give a link? There it is: https://mails.dpdk.org/archives/dev/2021-February/200105.html Yes, of course malloc/free shall be both on either library or caller site.