From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EFA8C10F14 for ; Thu, 11 Apr 2019 13:04:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D2C2F2133D for ; Thu, 11 Apr 2019 13:04:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UNTe3Lq+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D2C2F2133D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mmNQhXgVrJFMKR33xmdQzYnpShbP2g+TCIIj3/cRvRM=; b=UNTe3Lq+UhvqhH UTZR7e/JHP4MgXT8seiHzHkpwBx29x4Q4+oaD1iQBlFFWmozE/GUOfbviq6pT51SqDQzzdR7gtann zS3qYl4/BfmKbfLUiuNW2dZUw/FJsiPgqZr7RM+fDu4lDVTU/oyqp7kJCU7aBzUtH0R8IXEUdF4FH oHIsHqhs5K2D++0vDukP2cQMGC2lOkWnZsYOLtokebZTPIFMi6dYvCX/86gRSyFV/EE1bnMWbMl2Z 5cpNPNAlJswSD1UHnDxNxW8oZ0YMCK7B6XfQ1gU/dFKJk89PiSGpYsXcz3aNMT28WAEf3sGvitixf bq4y84ypPwfydooq9y2w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEZNp-0002aQ-Oh; Thu, 11 Apr 2019 13:04:49 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEZNl-0002Zf-3x for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2019 13:04:47 +0000 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8D76423E6C9; Thu, 11 Apr 2019 13:04:40 +0000 (UTC) Received: from carbon (ovpn-200-23.brq.redhat.com [10.40.200.23]) by smtp.corp.redhat.com (Postfix) with ESMTP id 90D191001E67; Thu, 11 Apr 2019 13:04:33 +0000 (UTC) Date: Thu, 11 Apr 2019 15:04:32 +0200 From: Jesper Dangaard Brouer To: Matteo Croce Subject: Re: [PATCH v3 1/2] net: thunderx: raise XDP MTU to 1508 Message-ID: <20190411150432.72882c56@carbon> In-Reply-To: <20190411102633.3685-2-mcroce@redhat.com> References: <20190411102633.3685-1-mcroce@redhat.com> <20190411102633.3685-2-mcroce@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 11 Apr 2019 13:04:40 +0000 (UTC) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190411_060445_181364_6DF7E4B5 X-CRM114-Status: GOOD ( 14.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Richter , netdev@vger.kernel.org, Ilias Apalodimas , brouer@redhat.com, Sunil Goutham , David Miller , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 11 Apr 2019 12:26:32 +0200 Matteo Croce wrote: > The thunderx driver splits frames bigger than 1530 bytes to multiple > pages, making impossible to run an eBPF program on it. > This leads to a maximum MTU of 1508 if QinQ is in use. > > The thunderx driver forbids to load an eBPF program if the MTU is higher > than 1500 bytes. Raise the limit to 1508 so it is possible to use L2 > protocols which need some more headroom. > > Fixes: 05c773f52b96e ("net: thunderx: Add basic XDP support") > Signed-off-by: Matteo Croce > --- > drivers/net/ethernet/cavium/thunder/nicvf_main.c | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) LGTM Acked-by: Jesper Dangaard Brouer -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel