Thread (14 messages) flat view 14 messages, 2 authors, 2019-09-16

RE: [PATCH V1 net-next 01/11] net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it

From: "Kiyanovski, Arthur" <akiyano@amazon.com>
Date: 2019-09-16 11:39:51

-----Original Message-----
From: David Miller <davem@davemloft.net>
Sent: Sunday, September 15, 2019 9:33 PM
To: Kiyanovski, Arthur <akiyano@amazon.com>
Cc: netdev@vger.kernel.org; Woodhouse, David <redacted>;
Machulsky, Zorik [off-list ref]; Matushevsky, Alexander
[off-list ref]; Bshara, Saeed [off-list ref]; Wilson, Matt
[off-list ref]; Liguori, Anthony [off-list ref]; Bshara,
Nafea [off-list ref]; Tzalik, Guy [off-list ref]; Belgazal,
Netanel [off-list ref]; Saidi, Ali [off-list ref];
Herrenschmidt, Benjamin [off-list ref]; Jubran, Samih
[off-list ref]; Dagan, Noam [off-list ref]
Subject: Re: [PATCH V1 net-next 01/11] net: ena: add intr_moder_rx_interval to
struct ena_com_dev and use it

From: <akiyano@amazon.com>
Date: Fri, 13 Sep 2019 01:08:38 +0300
quoted
@@ -1307,8 +1304,8 @@ static void
ena_com_update_intr_delay_resolution(struct ena_com_dev *ena_dev,
quoted
 	ena_dev->intr_delay_resolution = intr_delay_resolution;

 	/* update Rx */
-	for (i = 0; i < ENA_INTR_MAX_NUM_OF_LEVELS; i++)
-		intr_moder_tbl[i].intr_moder_interval /= intr_delay_resolution;
+	ena_dev->intr_moder_rx_interval /= intr_delay_resolution;
+

 	/* update Tx */
Now there are two empty lines here, please remove one of them.
Thanks.
For some reason checkpatch did not catch this and also another such extra space.
Sent out V2 of the patchset.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help