* [PATCH] net: stmmac: set default number of rx and tx queues in stmmac_pci
@ 2017-03-13 10:07 Joao Pinto
2017-03-13 19:12 ` David Miller
2017-03-13 19:13 ` David Miller
0 siblings, 2 replies; 4+ messages in thread
From: Joao Pinto @ 2017-03-13 10:07 UTC (permalink / raw)
To: davem; +Cc: peppe.cavallaro, alexandre.torgue, netdev, Joao Pinto
This patch configures default number of RX and TX queues when
using the pci glue driver.
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
index 5c9e4622..cea472a 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
@@ -88,6 +88,10 @@ static void stmmac_default_data(struct plat_stmmacenet_data *plat)
/* Set the maxmtu to a default of JUMBO_LEN */
plat->maxmtu = JUMBO_LEN;
+
+ /* Set default number of RX and TX queues to use */
+ plat->tx_queues_to_use = 1;
+ plat->rx_queues_to_use = 1;
}
static int quark_default_data(struct plat_stmmacenet_data *plat,
--
2.9.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] net: stmmac: set default number of rx and tx queues in stmmac_pci
2017-03-13 10:07 [PATCH] net: stmmac: set default number of rx and tx queues in stmmac_pci Joao Pinto
@ 2017-03-13 19:12 ` David Miller
2017-03-14 9:53 ` Joao Pinto
2017-03-13 19:13 ` David Miller
1 sibling, 1 reply; 4+ messages in thread
From: David Miller @ 2017-03-13 19:12 UTC (permalink / raw)
To: Joao.Pinto; +Cc: peppe.cavallaro, alexandre.torgue, netdev
From: Joao Pinto <Joao.Pinto@synopsys.com>
Date: Mon, 13 Mar 2017 10:07:07 +0000
> This patch configures default number of RX and TX queues when
> using the pci glue driver.
>
> Signed-off-by: Joao Pinto <jpinto@synopsys.com>
This is a net-next specific patch, you must the target tree properly in your
Subject line or similar, for example:
[PATCH net-next] stmmac: set default ...
I'm taking care of this, and for the next patch too, but in the future you
need to be clear what tree your changes are targetting.
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] net: stmmac: set default number of rx and tx queues in stmmac_pci
2017-03-13 10:07 [PATCH] net: stmmac: set default number of rx and tx queues in stmmac_pci Joao Pinto
2017-03-13 19:12 ` David Miller
@ 2017-03-13 19:13 ` David Miller
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2017-03-13 19:13 UTC (permalink / raw)
To: Joao.Pinto; +Cc: peppe.cavallaro, alexandre.torgue, netdev
From: Joao Pinto <Joao.Pinto@synopsys.com>
Date: Mon, 13 Mar 2017 10:07:07 +0000
> This patch configures default number of RX and TX queues when
> using the pci glue driver.
>
> Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] net: stmmac: set default number of rx and tx queues in stmmac_pci
2017-03-13 19:12 ` David Miller
@ 2017-03-14 9:53 ` Joao Pinto
0 siblings, 0 replies; 4+ messages in thread
From: Joao Pinto @ 2017-03-14 9:53 UTC (permalink / raw)
To: David Miller, Joao.Pinto; +Cc: peppe.cavallaro, alexandre.torgue, netdev
Hi David,
Às 7:12 PM de 3/13/2017, David Miller escreveu:
> From: Joao Pinto <Joao.Pinto@synopsys.com>
> Date: Mon, 13 Mar 2017 10:07:07 +0000
>
>> This patch configures default number of RX and TX queues when
>> using the pci glue driver.
>>
>> Signed-off-by: Joao Pinto <jpinto@synopsys.com>
>
> This is a net-next specific patch, you must the target tree properly in your
> Subject line or similar, for example:
You are right, sorry, I forgot to put the target tree!
>
> [PATCH net-next] stmmac: set default ...
>
> I'm taking care of this, and for the next patch too, but in the future you
> need to be clear what tree your changes are targetting.
>
> Thanks.
>
Thanks,
Joao
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-14 9:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-13 10:07 [PATCH] net: stmmac: set default number of rx and tx queues in stmmac_pci Joao Pinto
2017-03-13 19:12 ` David Miller
2017-03-14 9:53 ` Joao Pinto
2017-03-13 19:13 ` David Miller
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).