Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1355372ybt; Thu, 2 Jul 2020 03:24:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyr2Onys//7qLA2qEJv/QbDVx3nomB+Dy6H1R0yCI/oQi6wRq4Cpi25IYZEiFrBuRAdsYtQ X-Received: by 2002:a17:906:d217:: with SMTP id w23mr15121129ejz.292.1593685475424; Thu, 02 Jul 2020 03:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593685475; cv=none; d=google.com; s=arc-20160816; b=KRmsbbOH8gmP7vKcYwiL87kYPe4OL8flMTgu5xeofRaelWxSghQZYQoApATtFt9Z/e tCadnKnNyHNWIH8ac2aQVqVxMryf7vOPBH28t7vIw6ECFlzG/nFaYZvz+NwmlgeKlkpZ a4CguRVhde3jTbj0dEgafsWrQcgZvM25sSZ+ml8mzyIcrpx7LCfmBD2LrgzMZX4eJ/s6 7bJY0um7S4aNl/pkn8LLWUVBRcRrniYVtd0vsQKtJRxsmzkTuLdzK++U0p2XpYXCeKXA AgZkM4lD/9a8BeC1YUYyqP/jXm8PIen7Tz2+xiPBwsBfroO5BFweQ2kJUQjHeoUqH4R5 xY5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=ZRE3Um+pEieTG0xQ4M5QSrkZwd1HX5P5rC1a9rLmt4A=; b=xKS+mOFPPjRwatYQ2FMUE+qiYrcH1ZCR3feWnyP5sECFgGgsgRNykzY8Gty+Fqas5g V5f8h4uAI/sPB8WKejIwztzOvSgHPYsPixXGh76tR05cVNu22zpEr0j5Rft20IhN/aat s08xXp14quCUOy5bfAQJNshnnBNt9I5jcTqb48CUr5RlbDOz0mnjiMYzaEWmYPPGnCib USLwZJOLhpNvzS/CpIWAEfkmtoxR2HgKR+avniafoBqznmVCThDbdJi/P2lGSfyrurya 30E8mH12WF9hQzXRI6CgeIoRDzDjwqAsmtFuFLLDs4+Dd+jhttMrDBKLTN2aN0kabO0k /+vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=dipNb7Qu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si5661225eds.479.2020.07.02.03.24.12; Thu, 02 Jul 2020 03:24:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=dipNb7Qu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728351AbgGBKT4 (ORCPT + 99 others); Thu, 2 Jul 2020 06:19:56 -0400 Received: from linux.microsoft.com ([13.77.154.182]:56468 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727769AbgGBKTr (ORCPT ); Thu, 2 Jul 2020 06:19:47 -0400 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by linux.microsoft.com (Postfix) with ESMTPSA id 128C620B4908; Thu, 2 Jul 2020 03:19:46 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 128C620B4908 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1593685187; bh=ZRE3Um+pEieTG0xQ4M5QSrkZwd1HX5P5rC1a9rLmt4A=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dipNb7Qug4jfFGzFeCOIJdI906FopJ4r6tVy0NmSvYNC6do8vxuIl9zHemP36ptex DHOULzJARvCOhemO/1rss/0su3tNnNHQZn+KigcFdzsuIxFbacmTUFVBlYGXG7RcLx UFTF/wcQ6hhN8drPU4vmUbItLpgSw2xoW6EIJGoc= Received: by mail-qk1-f169.google.com with SMTP id j80so25096026qke.0; Thu, 02 Jul 2020 03:19:46 -0700 (PDT) X-Gm-Message-State: AOAM530DmTbrh/9HI+BGz4BgIvsnJiyVAfR2FdF7XI0E8WeJ8VYra2di 7Ecqpk//jTrYYqir/HbyPwHZ3sBWfzKcLLrxavg= X-Received: by 2002:a37:9a96:: with SMTP id c144mr29319278qke.207.1593685185937; Thu, 02 Jul 2020 03:19:45 -0700 (PDT) MIME-Version: 1.0 References: <20200630180930.87506-1-mcroce@linux.microsoft.com> <20200630180930.87506-4-mcroce@linux.microsoft.com> <20200702080819.GA499364@apalos.home> <20200702090956.GA7682@ranger.igk.intel.com> In-Reply-To: <20200702090956.GA7682@ranger.igk.intel.com> From: Matteo Croce Date: Thu, 2 Jul 2020 12:19:10 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next 3/4] mvpp2: add basic XDP support To: Maciej Fijalkowski Cc: ilias.apalodimas@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Sven Auhagen , Lorenzo Bianconi , "David S. Miller" , Jesper Dangaard Brouer , Stefan Chulski , Marcin Wojtas , maxime.chevallier@bootlin.com, antoine.tenart@bootlin.com, thomas.petazzoni@bootlin.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 2, 2020 at 11:14 AM Maciej Fijalkowski wrote: > > > + if (port->dev->mtu > ETH_DATA_LEN) { > > > + netdev_err(port->dev, "Jumbo frames are not supported by XDP, current MTU %d.\n", > > > + port->dev->mtu); > > > > ditto > > Here I agree and for every other netdev_err within mvpp2_xdp_setup(). > Nice idea, I'll add extack error reporting where possible. -- per aspera ad upstream