[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071210.171913.245036734.davem@davemloft.net>
Date: Mon, 10 Dec 2007 17:19:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mchan@...adcom.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/3][BNX2]: Fix RX packet rot.
From: "Michael Chan" <mchan@...adcom.com>
Date: Sun, 09 Dec 2007 13:17:14 -0800
> [BNX2]: Fix RX packet rot.
>
> Packets can be left in the RX ring if the NAPI budget is reached.
> This is caused by storing the latest rx index at the beginning of
> bnx2_rx_int(). We may not process all the work up to this index
> if the budget is reached and so some packets in the RX ring may rot
> when we later check for more work using this stored rx index.
>
> The fix is to not store this latest hw index and only store the
> processed rx index. We use a new function bnx2_get_hw_rx_cons()
> to fetch the latest hw rx index.
>
> Signed-off-by: Michael Chan <mchan@...adcom.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists