From patchwork Sun Mar 24 17:22:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 230466 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D71C42C0077 for ; Mon, 25 Mar 2013 04:23:03 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754163Ab3CXRWw (ORCPT ); Sun, 24 Mar 2013 13:22:52 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:42890 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754112Ab3CXRWv (ORCPT ); Sun, 24 Mar 2013 13:22:51 -0400 Received: by mail-pd0-f177.google.com with SMTP id y14so2186077pdi.22 for ; Sun, 24 Mar 2013 10:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:subject:from:to:cc:date:in-reply-to :references:content-type:x-mailer:content-transfer-encoding :mime-version; bh=FY4bIK9/qEVOmUHJsqfHjXeis35TjKgbakqTQgagaZg=; b=FAHRl28YJ4vHMgAQywYMTv0agl8r8dkQpENDCa7oiE+9bqKvOy+8Ug31Fy3KQLdhWX LJ/9EBtcTgM3hTKTO1deptSgeh0krVoT5qtnsR/7hKhze8mHcbEvs6hO+V6flMzm9Nw2 kYUYBF20/w26uBJd8uuamZRpgT1XjguPjQgrvsFRpJVxVHXak+DF1da4nNapjVQe5rfG j8s0jZT7Z4cYIyd3I9xqj2lvcXhkliZ94eXwS5kCBx+JabelGL2ME80XmpmPiVwY6h44 GXFaPzYQsdF1Il7cHEnEsBazpiNeA8BYjjDutSaOlGB0u+67APqIlUMEU6nWzjy/qbbM oZFw== X-Received: by 10.66.232.97 with SMTP id tn1mr8886322pac.121.1364145771388; Sun, 24 Mar 2013 10:22:51 -0700 (PDT) Received: from [172.19.244.139] ([172.19.244.139]) by mx.google.com with ESMTPS id qd8sm10193581pbc.29.2013.03.24.10.22.49 (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 24 Mar 2013 10:22:50 -0700 (PDT) Message-ID: <1364145768.29473.9.camel@edumazet-glaptop> Subject: RE: Atheros Communications Inc. AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0) 1.0.0.7 md5/sha1 corrupted using NFS and samba (updated) Version 2 From: Eric Dumazet To: "Huang, Xiong" Cc: Hannes Frederic Sowa , Sven Hartge , "netdev@vger.kernel.org" Date: Sun, 24 Mar 2013 10:22:48 -0700 In-Reply-To: <157393863283F442885425D2C4542856489E7D1E@nasanexd02f.na.qualcomm.com> References: <20130324012625.GA17948@order.stressinduktion.org> <89joa2largv8@mids.svenhartge.de> <20130324014125.GB17948@order.stressinduktion.org> <157393863283F442885425D2C4542856489E7C79@nasanexd02f.na.qualcomm.com> <20130324034037.GC17948@order.stressinduktion.org> <157393863283F442885425D2C4542856489E7CA8@nasanexd02f.na.qualcomm.com> <20130324043738.GD17948@order.stressinduktion.org> <157393863283F442885425D2C4542856489E7CCD@nasanexd02f.na.qualcomm.com> <20130324051325.GE17948@order.stressinduktion.org> <157393863283F442885425D2C4542856489E7CFC@nasanexd02f.na.qualcomm.com> <20130324052300.GA12968@order.stressinduktion.org> <157393863283F442885425D2C4542856489E7D1E@nasanexd02f.na.qualcomm.com> X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, 2013-03-24 at 05:42 +0000, Huang, Xiong wrote: > 1. pages cross 4GB bouandary ? or overlap with each other ? Normally this should not happen. However the frame could span two 4K pages. (physically contigous, and not spanning a 32K boundary) > 2. try to set hw->dmaw_block = atl1e_dma_req_128 > 3. can you print reg15C0 content when the NIC is in normal tx/rx status ? > 4. other possible may be related the diff register configuration, but it's very difficult to compare with Windows driver :( > What could be tried is to remove the possibility of page spanning. --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 441f5bf..d0f4dd1 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1849,7 +1849,7 @@ static inline void __skb_queue_purge(struct sk_buff_head *list) kfree_skb(skb); } -#define NETDEV_FRAG_PAGE_MAX_ORDER get_order(32768) +#define NETDEV_FRAG_PAGE_MAX_ORDER 0 #define NETDEV_FRAG_PAGE_MAX_SIZE (PAGE_SIZE << NETDEV_FRAG_PAGE_MAX_ORDER) #define NETDEV_PAGECNT_MAX_BIAS NETDEV_FRAG_PAGE_MAX_SIZE