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 D15B9A0353; Tue, 19 Nov 2019 22:02:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C6A0A69; Tue, 19 Nov 2019 22:02:47 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id C0CAC2AB for ; Tue, 19 Nov 2019 22:02:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574197366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pfjcPw0y/+RhdwP/S0vBgha8uf6+ziaw0q+rBPPk3qA=; b=CKMHxECYBR6DbNfCIUJa/xB2kqznItR6LDpiIbL+i4E2w1r3fIC8O2b2zRIE9E2mb+E/no i4YaMRhw6jXyzW3AYTOZRT8uN1XdNeHaDar+MaLkJbGzLYeEUVcpd4Q4VKs6+fmrY75JqE nzEakinU3TWdGrYSEBIM7teH4MBc2Vk= Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-168-8lcK7M-BPTuFg5cBvbrlzA-1; Tue, 19 Nov 2019 16:02:42 -0500 Received: by mail-io1-f70.google.com with SMTP id q84so16886007iod.15 for ; Tue, 19 Nov 2019 13:02:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7ovNq0RIHtjDTjBT9AAPoF3YfB8aKBfKKPXMFxr6sP4=; b=hQasBgx2xcfwovekBrWnWZWlW/o9g4gMtGl/5h/Ei4ifP1s1HLnoD2AdNHmo2Ei8bZ yXngS5lp0m957cvtjlP0p3gr/N+ob7ZVJJC1Ts+cKmYxLeYBrrJt+3gsPTbKPj4Vz7qJ xd7kA9UXQtQVQGS1Fmdj0BY8eUJ0wNjeat/Wtcoxjg+hEWzlCKCMOeMucZxwDAv55v2g Ohpekn5YYTtI7eT+H6VVG1920fNpwkU86WE7stw0S2DAmgU3N4Qwk6hUZTGbWCDcHuLH VEshIPHIefqeUh3gYVKLpeS6AYOtl6RRy39S/hpXqs2nkXCQJ3HU5YPPWoGkOlfEBS37 Z7vw== X-Gm-Message-State: APjAAAVBA1H4zwx7SxDzZlk66MKJ7aaKz9uUt8jZDvlQunjNe2M2QnCj 9CwbV/VVX8rOITlXvfhLm0Rk1Yfve/Xe5Gai2y9zfKxfqOlceE/ZuU8nySVvaQ4Mxjs+JRNC/RY zZethe5DtrKQILmeLvCs= X-Received: by 2002:a02:7347:: with SMTP id a7mr21033360jae.80.1574197361554; Tue, 19 Nov 2019 13:02:41 -0800 (PST) X-Google-Smtp-Source: APXvYqywLaUN78APBJQUsUuA8wwa3Oe7n2hgHY2c76UlHPulFCXVFDuju1d8nHs4kMFi0HoI67AC/RoACKSabjsAQO8= X-Received: by 2002:a02:7347:: with SMTP id a7mr21033339jae.80.1574197361231; Tue, 19 Nov 2019 13:02:41 -0800 (PST) MIME-Version: 1.0 References: <20191115114107.30737-1-michael.pfeiffer@tu-ilmenau.de> <20191115130328.25683-1-michael.pfeiffer@tu-ilmenau.de> <9a80c6d1-c1d9-5e4b-c96a-999a17af3a9f@intel.com> In-Reply-To: <9a80c6d1-c1d9-5e4b-c96a-999a17af3a9f@intel.com> From: David Marchand Date: Tue, 19 Nov 2019 22:02:29 +0100 Message-ID: To: Michael Pfeiffer Cc: dev , Igor Ryzhov , Ferruh Yigit , Stephen Hemminger X-MC-Unique: 8lcK7M-BPTuFg5cBvbrlzA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v2] kni: reduce interface name size 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" On Fri, Nov 15, 2019 at 2:30 PM Ferruh Yigit wrote= : > On 11/15/2019 1:03 PM, Michael Pfeiffer wrote: > > The name in rte_kni_device_info is passed to the kernel, which allows > > interface names with at most 16 bytes (IFNAMSIZ). rte_kni_alloc with a > > longer name currently trigger a kernel BUG in alloc_netdev_mqs in > > net/core/dev.c. Reduce RTE_KNI_NAMESIZE to prevent this situation. > > > > Signed-off-by: Michael Pfeiffer > > Acked-by: Ferruh Yigit Applied, thanks. -- David Marchand