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.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 B5FA6C433E7 for ; Fri, 9 Oct 2020 16:33:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 69DE522284 for ; Fri, 9 Oct 2020 16:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602261203; bh=0TLGZSt+khC/pikpgWfug5G23YTSWoMW9MMxrN0CLl0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=PmW/S03HGQeNrXLHmoyqpNh30L42/sqUnrVjdA3HkVPrOlUywwsGrrAYGURzAAODr M30P9nLzChT7S825X9761jfAlpBR9RK6PMPOFmXZxKPijszcAtbIniJyS71NLiKS2R qmTZrFClMSNraHMvAGdkUOpeVjmK0zQJyZVZnk8k= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389815AbgJIQdW (ORCPT ); Fri, 9 Oct 2020 12:33:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:40166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388719AbgJIQdW (ORCPT ); Fri, 9 Oct 2020 12:33:22 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 846242227F; Fri, 9 Oct 2020 16:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602261202; bh=0TLGZSt+khC/pikpgWfug5G23YTSWoMW9MMxrN0CLl0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pLFIWi9kDQjZlh8dpgQ/IqjwyU57oe7XUb4tkl3brq+GcaYo6f0CzZyfTsBanOSar VqoZ7eocohiP0nZTYNDrxbm+DkxDtF4LahN4978V0xDyT0WdsM/pvvUHrbwjlmZjLE W9eCWeiys6kOdQfAhMsy91l6qkMpqSOs9rh6eCUg= Date: Fri, 9 Oct 2020 09:33:19 -0700 From: Jakub Kicinski To: Jesper Dangaard Brouer Cc: bpf@vger.kernel.org, netdev@vger.kernel.org, Daniel Borkmann , Alexei Starovoitov , maze@google.com, lmb@cloudflare.com, shaun@tigera.io, Lorenzo Bianconi , marek@cloudflare.com, John Fastabend , eyal.birger@gmail.com Subject: Re: [PATCH bpf-next V3 0/6] bpf: New approach for BPF MTU handling Message-ID: <20201009093319.6140b322@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <160216609656.882446.16642490462568561112.stgit@firesoul> References: <160216609656.882446.16642490462568561112.stgit@firesoul> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 08 Oct 2020 16:08:57 +0200 Jesper Dangaard Brouer wrote: > V3: Drop enforcement of MTU in net-core, leave it to drivers Sorry for being late to the discussion. I absolutely disagree. We had cases in the past where HW would lock up if it was sent a frame with bad geometry. We will not be sprinkling validation checks across the drivers because some reconfiguration path may occasionally yield a bad packet, or it's hard to do something right with BPF.