From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id B8234A00E6 for ; Thu, 21 Mar 2019 16:28:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7BCC61B50E; Thu, 21 Mar 2019 16:28:27 +0100 (CET) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 2763A1B50D for ; Thu, 21 Mar 2019 16:28:26 +0100 (CET) Received: by mail-pf1-f195.google.com with SMTP id 9so4269690pfj.13 for ; Thu, 21 Mar 2019 08:28:26 -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=V3dxRl0QR+dBNlyixE17uGZi8H9BFCijGaS+Hj5nNXI=; b=CexDG0Jlp0jahWYSSjQldl8vtzgyPh3Jjn0h9hfxLrINZx9kll3yFI4n/6cxfXWwlj oEUGG366qwZQ7lUrZoIg0VkLUb15RcJ32qnzCstJbrgdn+rTbc3QN8om8ebnovB4sylS 8QTQRARQlOqNoRHA18k/MWJsNqXfloNQdDW7ek56cigJoX9660lnjugj9K8UCiJ+jymX KeNdBEgAKMx/yppLWQe97/ynkr7x6TnNPVvdn0KPy41NYKX0kcifNNNoR+9JW1LzXGIf kskNF9FrQUutGPtDMjsWzAG/x61J9ORLKmd3PM/BnO5iXUP1Qp8fkVVL38o5yUYwX7o8 rCXA== 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=V3dxRl0QR+dBNlyixE17uGZi8H9BFCijGaS+Hj5nNXI=; b=SIxdV3EidBYyRy6NA9HPTUuF9YnVoaYGZVR+ZaUjgnf1xSZ1o153r1sE/cTUR/luG7 SxN8JJc6zwM636sRK59iU//wA4uYvdDHSOI98v9P75TdKAMMBAlr0E9ntbhgRhSOfj7n j23cdXVOE9EKDGordmtIClmKZ89qUR8M440xIwa/oPX45VQxeblzPtzRhY2Cz3vQ4cGg aIx0RPpgIIv6ciCbHEI/qRQDo212sYZKZ/fGs0mEngNbrT0c3dWdP9YvtINLyu4s2+Fw 3RaJ7YyP63n7T8PvG6/mPmVsqQhSWAHIa3wYiP8fED9zu4R8LUuKlfQjRZ22rwNhKrUW BlfQ== X-Gm-Message-State: APjAAAXvVa9wC8Ai2L3JJO7XicqLDQ7wHdNkKChlmnS+KWPipazRWLtX agpiAUcB0TBBUCZ0+Tdhwgq2lQ== X-Google-Smtp-Source: APXvYqyD8/j8RDZvu+bIrx41+o252suZyOWwWCnNTLutwrV+x1GBDwin97qupv1R/q3cV+fptJbTrg== X-Received: by 2002:a17:902:7084:: with SMTP id z4mr2145709plk.305.1553182105349; Thu, 21 Mar 2019 08:28:25 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t129sm8503197pfb.127.2019.03.21.08.28.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Mar 2019 08:28:25 -0700 (PDT) Date: Thu, 21 Mar 2019 08:28:22 -0700 From: Stephen Hemminger To: Xiaolong Ye Cc: dev@dpdk.org, Qi Zhang , Karlsson Magnus , Topel Bjorn Message-ID: <20190321082822.2660e913@shemminger-XPS-13-9360> In-Reply-To: <20190321091845.78495-2-xiaolong.ye@intel.com> References: <20190301080947.91086-1-xiaolong.ye@intel.com> <20190321091845.78495-1-xiaolong.ye@intel.com> <20190321091845.78495-2-xiaolong.ye@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 1/5] net/af_xdp: introduce AF XDP PMD 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" Message-ID: <20190321152822.m0zN1vmBgWs7mmT4YIgW_o1Y5b8XQBIpgjgVZTmswuw@z> On Thu, 21 Mar 2019 17:18:41 +0800 Xiaolong Ye wrote: > + if (ret != 0) { > + RTE_LOG(ERR, AF_XDP, "getsockopt() failed for XDP_STATISTICS.\n"); > + return -1; You need to use the new dynamic log types and not have a global logtype.