Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp884844ybx; Wed, 6 Nov 2019 09:49:25 -0800 (PST) X-Google-Smtp-Source: APXvYqy9wMzPsm7/X0RdEjLC8oXqD3R+x42p2JrIthrDnBapdArK/fH1FGAKInR4AXMmKumVrYiT X-Received: by 2002:a50:ac2c:: with SMTP id v41mr4063252edc.11.1573062565350; Wed, 06 Nov 2019 09:49:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573062565; cv=none; d=google.com; s=arc-20160816; b=NECk6ag8doWJtTTNiYRqnJ3jcG4V7DGlxSHwLqZkOW3BaOtXlN28XyXvcJMxxAZ1/s BIbaWqp/fAGP8RgGmb1IutaRNEHl8HYCmFV4DtBOe9Fd8fi4NHKR5GhvwSKWodHBri9q LUsKU3vUDv6Yh6HImBPVy7Yvt6kkig8yAHf6qW3Mhvj21Ujhk9QnDGkG7OvNAzMKlWvT QhuIJGqN6FbQhFVJFAhZGfiFu40DdCnQKFGUmZ1XRTJFA0m4hWsBWJ8LJERLYD714zUs 5jVbEmT5wEgE3A+8RoZD+Ms0pnqod472Sy2bU7aNY9hwSfG/hvvkbqxCp27+1gHeX20C ZaFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=H41qCwlUVEL/9zPi3e0kzDz1VP94DaUaczWfqsxTsg0=; b=sUWbfs0WX89thymNGc4PHS00m+deCGuoz85JjiDdq+Q8xLqfRjsQ3xwwlZzYXJs6iv XZ5CJLhE5koBECJYDTlVFDJWaEYQaJ5OfgQ6/kcWjGc4VhTRjib1tc4paspf1DhJBaPa 1jjnHqejYqTvaNeDVud1iUoGR4FWS/LNYbnMDaosGa8HAKzpGl9fYf5EAGJokOGMKME6 0C3Tpis3A9dBcdqWEDhtc7dJcZfjNV///qZUHQXU50mpGtjLTkFitDVHVEwTwmsxicZW tVBCgDW2UfiV+naUek1oSCzl+rrF8AhlM8nIJZAav1HU5N3W+aUHWUHzdqGcfgUhEmRE xHUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=Hsxudzhp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15si5987423ejv.335.2019.11.06.09.49.02; Wed, 06 Nov 2019 09:49:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=Hsxudzhp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732248AbfKFRqK (ORCPT + 99 others); Wed, 6 Nov 2019 12:46:10 -0500 Received: from rcdn-iport-3.cisco.com ([173.37.86.74]:40575 "EHLO rcdn-iport-3.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728539AbfKFRqJ (ORCPT ); Wed, 6 Nov 2019 12:46:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1489; q=dns/txt; s=iport; t=1573062369; x=1574271969; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9LWdUWFwz+0nguJkEnlwOwG8B5lAe20QbOKg7mn/Puw=; b=HsxudzhpllSSNe7+0sDmvsEGE/LLaIuYC7p9+Qbx5hKn6vomfRwiBz6R FWQubN9poyG8iyY8Ptxw1HuPiE4TsQw07notF+O4m+a9tgrAxW3p0NwNk AwPvYPBJRcEds8teFdOybqQcGJsNlCKTDEBc8CIYt8iY80f0qimMAMlPv 4=; X-IronPort-AV: E=Sophos;i="5.68,275,1569283200"; d="scan'208";a="646600509" Received: from alln-core-10.cisco.com ([173.36.13.132]) by rcdn-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 06 Nov 2019 17:46:08 +0000 Received: from zorba ([10.154.200.26]) by alln-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id xA6Hk55r004590 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 6 Nov 2019 17:46:07 GMT Date: Wed, 6 Nov 2019 09:46:02 -0800 From: Daniel Walker To: Claudiu Manoil Cc: Sathish Jarugumalli , "xe-linux-external@cisco.com" , Daniel Walker , "David S. Miller" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drivers: net: gianfar: Shortest frame drops at Ethernet port Message-ID: <20191106174602.GV18744@zorba> References: <20191106170320.27662-1-danielwa@cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Auto-Response-Suppress: DR, OOF, AutoReply X-Outbound-SMTP-Client: 10.154.200.26, [10.154.200.26] X-Outbound-Node: alln-core-10.cisco.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 06, 2019 at 05:38:06PM +0000, Claudiu Manoil wrote: > >-----Original Message----- > >From: Daniel Walker > >Sent: Wednesday, November 6, 2019 7:03 PM > >To: Claudiu Manoil > >Cc: Sathish Jarugumalli ; xe-linux-external@cisco.com; > >Daniel Walker ; David S. Miller > >; netdev@vger.kernel.org; linux- > >kernel@vger.kernel.org > >Subject: [PATCH] drivers: net: gianfar: Shortest frame drops at Ethernet port > > > >NXP has provided the patch for packet drops at ethernet port > >Frames shorter than 60bytes are getting dropped at ethernetport > >need to add padding for the shorter range frames to be transmit > >the function "eth_skb_pad(skb" provides padding (and CRC) for > >packets under 60 bytes > > > >Signed-off-by: Sathish Jarugumalli > >Cc: xe-linux-external@cisco.com > >Signed-off-by: Daniel Walker > > Signed-off-by: Claudiu Manoil > > Normally padding is done by the hardware, and it works at least on my > test cases and boards. > But cisco seems to have hit a case where h/w padding gets > unexpectedly disabled (concurrency issue writing the config register?). > This patch should go as a workaround, until root cause found. Where would this hardware setup normally happen? Does it happen in the bootloader or inside the kernel someplace ? Daniel