From: Hannes Frederic Sowa <hannes@stressinduktion.org>
To: "Huang, Xiong" <xiong@qca.qualcomm.com>
Cc: Sven Hartge <sven@svenhartge.de>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
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
Date: Thu, 28 Mar 2013 01:40:24 +0100 [thread overview]
Message-ID: <20130328004024.GA2176@order.stressinduktion.org> (raw)
In-Reply-To: <157393863283F442885425D2C45428564F1FFFCE@nasanexd02f.na.qualcomm.com>
On Thu, Mar 28, 2013 at 12:10:57AM +0000, Huang, Xiong wrote:
> There is no much difference on those registers :(
> But you could try to replace :
>
> static void atl1e_cal_ring_size(struct atl1e_adapter *adapter, u32 *ring_size)
> {
> *ring_size = ((u32)(adapter->tx_ring.count *
> sizeof(struct atl1e_tpd_desc) + 7
> /* tx ring, qword align */
> + adapter->rx_ring.real_page_size * AT_PAGE_NUM_PER_QUEUE *
> adapter->num_rx_queues + 31
> /* rx ring, 32 bytes align */
> + (1 + AT_PAGE_NUM_PER_QUEUE * adapter->num_rx_queues) *
> 16 + 15));
> /* tx, rx cmd, dword align */
> }
>
>
> static int atl1e_setup_ring_resources(struct atl1e_adapter *adapter)
> {
> .....
> /* Init CMB dma address */
> offset = roundup(offset, 16);
> tx_ring->cmb_dma = adapter->ring_dma + offset;
> tx_ring->cmb = adapter->ring_vir_addr + offset;
> offset += sizeof(u32);
> offset = roundup(offset, 16);
>
> for (i = 0; i < adapter->num_rx_queues; i++) {
> for (j = 0; j < AT_PAGE_NUM_PER_QUEUE; j++) {
> rx_page_desc[i].rx_page[j].write_offset_dma =
> adapter->ring_dma + offset;
> rx_page_desc[i].rx_page[j].write_offset_addr =
> adapter->ring_vir_addr + offset;
> offset += sizeof(u32);
> offset = roundup(offset, 16);
> }
> }
> .....
>
>
>
> Just guess, no confidence on it ....
No, problem still persists. :(
Btw, in the meantime I extracted another mmiotrace (this time with a dhcp
exchange) and resolved the symbols:
https://gist.github.com/hannes/5259468/raw/4c22dff854254c46534c1b87e477eff7d3ca2c5d/mmiotrace.txt
Perhaps it helps.
Thanks,
Hannes
next prev parent reply other threads:[~2013-03-28 0:40 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 23:07 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 rebelyouth
2013-03-22 23:54 ` Eric Dumazet
2013-03-23 0:07 ` rebelyouth
2013-03-23 2:10 ` Hannes Frederic Sowa
2013-03-23 4:54 ` rebelyouth
2013-03-23 15:06 ` Hannes Frederic Sowa
2013-03-24 0:36 ` Sven Hartge
2013-03-24 1:26 ` Hannes Frederic Sowa
2013-03-24 1:35 ` Sven Hartge
2013-03-24 1:41 ` Hannes Frederic Sowa
2013-03-24 3:27 ` Huang, Xiong
2013-03-24 3:40 ` Hannes Frederic Sowa
2013-03-24 4:21 ` Huang, Xiong
2013-03-24 4:37 ` Hannes Frederic Sowa
2013-03-24 4:54 ` Huang, Xiong
2013-03-24 5:13 ` Hannes Frederic Sowa
2013-03-24 5:16 ` Huang, Xiong
2013-03-24 5:23 ` Hannes Frederic Sowa
2013-03-24 5:42 ` Huang, Xiong
2013-03-24 17:22 ` Eric Dumazet
2013-03-24 17:38 ` Hannes Frederic Sowa
2013-03-24 17:23 ` Hannes Frederic Sowa
2013-03-25 16:30 ` Hannes Frederic Sowa
2013-03-26 4:27 ` Hannes Frederic Sowa
2013-03-26 4:34 ` Huang, Xiong
2013-03-26 4:40 ` Hannes Frederic Sowa
2013-03-26 4:44 ` Huang, Xiong
2013-03-27 22:02 ` Hannes Frederic Sowa
2013-03-27 22:28 ` Huang, Xiong
2013-03-27 22:34 ` Hannes Frederic Sowa
2013-03-28 0:10 ` Huang, Xiong
2013-03-28 0:40 ` Hannes Frederic Sowa [this message]
2013-03-28 1:01 ` Huang, Xiong
2013-03-28 1:16 ` Hannes Frederic Sowa
2013-03-28 1:17 ` Huang, Xiong
2013-03-28 3:19 ` Hannes Frederic Sowa
2013-03-28 3:25 ` Huang, Xiong
2013-03-28 3:29 ` Hannes Frederic Sowa
2013-03-28 3:39 ` Huang, Xiong
2013-03-29 3:05 ` Hannes Frederic Sowa
2013-03-29 3:39 ` Huang, Xiong
2013-03-28 3:52 ` Huang, Xiong
2013-03-24 6:12 ` Huang, Xiong
2013-03-24 17:24 ` Hannes Frederic Sowa
2013-03-24 1:07 ` Sven Hartge
2013-03-23 0:01 ` Hannes Frederic Sowa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130328004024.GA2176@order.stressinduktion.org \
--to=hannes@stressinduktion.org \
--cc=netdev@vger.kernel.org \
--cc=sven@svenhartge.de \
--cc=xiong@qca.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).