From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v3 1/5] net/af_xdp: introduce AF XDP PMD driver Date: Thu, 21 Mar 2019 08:31:21 -0700 Message-ID: <20190321083121.15e6dfb1@shemminger-XPS-13-9360> 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=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Qi Zhang , Karlsson Magnus , Topel Bjorn To: Xiaolong Ye Return-path: Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by dpdk.org (Postfix) with ESMTP id C4ED61B51D for ; Thu, 21 Mar 2019 16:31:25 +0100 (CET) Received: by mail-pf1-f181.google.com with SMTP id 8so4533610pfr.4 for ; Thu, 21 Mar 2019 08:31:25 -0700 (PDT) In-Reply-To: <20190321091845.78495-2-xiaolong.ye@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 21 Mar 2019 17:18:41 +0800 Xiaolong Ye wrote: > + if (strnlen(value, IFNAMSIZ) > IFNAMSIZ - 1) { > + RTE_LOG(ERR, AF_XDP, "Invalid name %s, should be less than " > + "%u bytes.\n", value, IFNAMSIZ) Please don't break error message strings across multiple source lines. It makes it harder to use tools like grep to find errors in source.