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 53364A05D3 for ; Tue, 23 Apr 2019 18:53:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 34456568A; Tue, 23 Apr 2019 18:53:46 +0200 (CEST) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id AC4D7493D for ; Tue, 23 Apr 2019 18:53:43 +0200 (CEST) Received: by mail-pg1-f194.google.com with SMTP id f6so7886390pgs.8 for ; Tue, 23 Apr 2019 09:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y5flUZC12YB2XN94MZ4eU5Ld6MgqjXSC8eNUb96tlOs=; b=UuD/5UsbYOiTWt41Wg6DW6B7iWJfzln6cxFjeXqHZ10pJtpVGIESX8AddQqhU7h/jb zjuGcoic7+iPGgiakdCNOzGj2D6ORYsvDLy1Gd2zVY+a1cOjbddnlGLxuRLTzIniTjCS Hwr2IWsrbRMYfuHOyai87dNqXCMvCPu7wjsBz6Vwl+t6mcCnV2LOJs6e+tu2a88d/QrL +d46J2MhjcX/dZeyxg4h+bGG1nR1EVyr8QNF5/z+GWyaEyAErDRLmSlYnWOyzXJnZDkn i4K2/rQQ7bwAh//0r8Izq4VhWX4kPnYO02ACo2dg45B2+ZVwMMLmOuVQATFyyiLnpQKZ +8iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y5flUZC12YB2XN94MZ4eU5Ld6MgqjXSC8eNUb96tlOs=; b=b9E23YVec9cPFEOZGqYvVB7jGoLU8broNxhGlauYz0DCfQKIguCdZNStwQj5U4PGca KWcqT+9Cm+q0wcssyCIy5Iji4QvqTGRCBDbbMnc94dj9gLrMHEfxweLy0JkGMfw5czng DtBd2BMDWkHA4nsbbPZ3KTj3XVbzb2OE9mACfrtuLvUVmUc8Qrlxiq626Gq8LRyxmYGm UnnXF6SHP0p7nfiR05wXBg93aH84fa2BHVtQK/PE9gCMizqJWwGOqgXTRBQi92SdgmCL d2hbeJ7nh6NbTchPFm2X7tXMe9swm7POaKCZGhJJxIMqKpHRrv/3GVpFVHFz69EEUCjR lxrA== X-Gm-Message-State: APjAAAXXdl6AUQB4S1LsXdKcY13ugU4v3NuSBvDx8FHUI5YUkqmDOzKJ BPF+d1b68TG23guATC27oyBBdg== X-Google-Smtp-Source: APXvYqwlyVG4vDVObp/kvNfC5jIFJNN8GwUnrs5XyTzCLOsDhR/MnLISmKPEvrejFdzcO28q3PUafg== X-Received: by 2002:a65:5183:: with SMTP id h3mr25373116pgq.53.1556038422709; Tue, 23 Apr 2019 09:53:42 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 71sm47194750pfs.36.2019.04.23.09.53.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 09:53:41 -0700 (PDT) From: Stephen Hemminger To: bruce.richardson@intel.com Cc: dev@dpdk.org, Stephen Hemminger Date: Tue, 23 Apr 2019 09:53:31 -0700 Message-Id: <20190423165335.4025-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190423164812.3427-1-stephen@networkplumber.org> References: <20190423164812.3427-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] net/ring: driver fixes 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190423165331.raFIjKBSQ9jW0TCXRMrf289oJJXJZi2SWPdrNraPXtw@z> Minor fixes and cleanups for the net/ring driver. Stephen Hemminger (4): net/ring: fix coding style net/ring: use sizeof() with snprintf net/ring: use rte_calloc_socket net/ring: check length of ring name drivers/net/ring/rte_eth_ring.c | 90 ++++++++++++++++++++------------- 1 file changed, 55 insertions(+), 35 deletions(-) -- 2.20.1