From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Subject: Re: [PATCH v2] bnx2x: disable GSO where gso_size is too big for hardware Date: Fri, 12 Jan 2018 09:48:44 -0200 Message-ID: <20180112114844.GN725@localhost.localdomain> References: <20180111235905.10110-1-dja@axtens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Thomas Falcon , Yuval Mintz To: Daniel Axtens Return-path: Received: from mx1.redhat.com ([209.132.183.28]:35426 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932489AbeALLsr (ORCPT ); Fri, 12 Jan 2018 06:48:47 -0500 Content-Disposition: inline In-Reply-To: <20180111235905.10110-1-dja@axtens.net> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Jan 12, 2018 at 10:59:05AM +1100, Daniel Axtens wrote: > If a bnx2x card is passed a GSO packet with a gso_size larger than > ~9700 bytes, it will cause a firmware error that will bring the card > down: Why not use netif_set_gso_max_size() instead? Some drivers are using it to avoid such larger than supported packets.