[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN6PR12MB1779E6EF20FD8F5F3255CCE8D3820@BN6PR12MB1779.namprd12.prod.outlook.com>
Date: Tue, 9 Jun 2020 14:20:58 +0000
From: Jose Abreu <Jose.Abreu@...opsys.com>
To: Biao Huang <biao.huang@...iatek.com>,
Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...com>,
"David S . Miller" <davem@...emloft.net>
CC: "linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>,
"yt.shen@...iatek.com" <yt.shen@...iatek.com>,
Matthias Brugger <matthias.bgg@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jose Abreu <Jose.Abreu@...opsys.com>
Subject: RE: [PATCH] net: stmmac: Fix RX Coalesce IOC always true issue
From: Biao Huang <biao.huang@...iatek.com>
Date: Jun/09/2020, 10:41:33 (UTC+00:00)
> - rx_q->rx_count_frames += priv->rx_coal_frames;
> - if (rx_q->rx_count_frames > priv->rx_coal_frames)
> + if (rx_q->rx_count_frames >= priv->rx_coal_frames)
This is no right. If you want to RX IC bit to not always be set you need
to change coalesce parameters using ethtool.
---
Thanks,
Jose Miguel Abreu
Powered by blists - more mailing lists