From: Ayaz Abdulla <aabdulla@nvidia.com>
To: Robert Hancock <hancockr@shaw.ca>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
netdev@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
David Ford <firefighterblu3@gmail.com>,
Jeff Garzik <jgarzik@pobox.com>
Subject: Re: forcedeth problems on 2.6.20-rc6-mm3
Date: Mon, 19 Feb 2007 09:31:10 -0500 [thread overview]
Message-ID: <45D9B4AE.6030006@nvidia.com> (raw)
In-Reply-To: <45DA4327.3010106@shaw.ca>
Robert Hancock wrote:
> Ayaz Abdulla wrote:
>
>>
>> For all those who are having issues, please try out the attached patch.
>>
>> Ayaz
>>
>>
>> -----------------------------------------------------------------------------------
>>
>> This email message is for the sole use of the intended recipient(s)
>> and may contain
>> confidential information. Any unauthorized review, use, disclosure or
>> distribution
>> is prohibited. If you are not the intended recipient, please contact
>> the sender by
>> reply email and destroy all copies of the original message.
>> -----------------------------------------------------------------------------------
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> --- orig/drivers/net/forcedeth.c 2007-02-08 21:41:59.000000000 -0500
>> +++ new/drivers/net/forcedeth.c 2007-02-08 21:44:53.000000000 -0500
>> @@ -3104,13 +3104,17 @@
>> struct fe_priv *np = netdev_priv(dev);
>> u8 __iomem *base = get_hwbase(dev);
>> unsigned long flags;
>> + u32 retcode;
>>
>> - if (np->desc_ver == DESC_VER_1 || np->desc_ver == DESC_VER_2)
>> + if (np->desc_ver == DESC_VER_1 || np->desc_ver == DESC_VER_2) {
>> pkts = nv_rx_process(dev, limit);
>> - else
>> + retcode = nv_alloc_rx(dev);
>> + } else {
>> pkts = nv_rx_process_optimized(dev, limit);
>> + retcode = nv_alloc_rx_optimized(dev);
>> + }
>>
>> - if (nv_alloc_rx(dev)) {
>> + if (retcode) {
>> spin_lock_irqsave(&np->lock, flags);
>> if (!np->in_shutdown)
>> mod_timer(&np->oom_kick, jiffies + OOM_REFILL);
>
>
> Did anyone push this patch into mainline? forcedeth on 2.6.20-git14 is
> still completely broken without this patch.
>
I have submitted the patch to netdev mailing list.
next prev parent reply other threads:[~2007-02-20 0:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.EU4/Dq38S7AbpiJstT7NwokqTWE@ifi.uio.no>
[not found] ` <fa.aMmqbeBS9CpIUWfPrgAtORtlXAQ@ifi.uio.no>
[not found] ` <fa.d8YTRl6o0OIk8Vvk1QLpyc+bxQU@ifi.uio.no>
[not found] ` <fa.XnyZ7qxKkAZ7Yhrg0DdiDmiy6wg@ifi.uio.no>
[not found] ` <fa.s8qbnOGnlEinPfyyhT0PZsqiwwE@ifi.uio.no>
[not found] ` <fa.6Uftu56OuKdbN+aI/fzLv4opZ/I@ifi.uio.no>
2007-02-20 0:39 ` forcedeth problems on 2.6.20-rc6-mm3 Robert Hancock
2007-02-19 14:31 ` Ayaz Abdulla [this message]
2007-02-05 5:13 Robert Hancock
2007-02-05 5:36 ` Andrew Morton
2007-02-05 5:48 ` Robert Hancock
2007-02-05 6:17 ` Andrew Morton
[not found] ` <523e55a00702081326j43de05e3hdd8cf35e946eae9@mail.gmail.com>
2007-02-09 2:57 ` Ayaz Abdulla
2007-02-09 11:58 ` Tobias Diedrich
2007-02-09 12:07 ` Tobias Diedrich
2007-02-09 14:50 ` Jeff Garzik
2007-02-12 6:28 ` Tobias Diedrich
2007-02-16 14:54 ` Tobias Diedrich
2007-02-10 4:40 ` Robert Hancock
2007-02-05 6:34 ` Daniel Barkalow
2007-02-06 0:35 ` Robert Hancock
2007-02-06 0:52 ` Andrew Morton
2007-02-08 5:33 ` Andrew Morton
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=45D9B4AE.6030006@nvidia.com \
--to=aabdulla@nvidia.com \
--cc=akpm@osdl.org \
--cc=firefighterblu3@gmail.com \
--cc=hancockr@shaw.ca \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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).