linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] net/macb: add TX multiqueue support for gem
@ 2014-12-11 10:16 Cyrille Pitchen
  2014-12-11 10:16 ` [PATCH v2 1/1] " Cyrille Pitchen
  0 siblings, 1 reply; 9+ messages in thread
From: Cyrille Pitchen @ 2014-12-11 10:16 UTC (permalink / raw)
  To: linux-arm-kernel

ChangeLog

v2:
fix compilation warnings for netdev_vdbg("%u...", queue - bp->queues, ...) calls

v1:
At the first look this patch may look quite big but it cannot be splitted.
Each queue has its own dedicated IRQ, which should be handled.
Also the Transmit Base Queue Pointer register of each available queue must be
initialized before starting the transmission, otherwise the transmission will be
halted immediately as HRESP errors are likely to occur.
In addition, some fields had to be moved from struct macb into struct macb_queue
so a common code could manage the queues.

This patch was applied to net-next and tested on a sama5d36ek board, which embeds
both macb and gem IPs, to check the backward compatibility.

Also it was tested on a sama5dx FPGA platform with a gem designed to use 3 queues.
Then we used the tc program to set a queue discipline policy as describe in the
Documentation/networking/multiqueue.txt: we successfully used each queue.

Cyrille Pitchen (1):
  net/macb: add TX multiqueue support for gem

 drivers/net/ethernet/cadence/macb.c | 451 +++++++++++++++++++++++-------------
 drivers/net/ethernet/cadence/macb.h |  71 +++++-
 2 files changed, 358 insertions(+), 164 deletions(-)

-- 
1.8.2.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-12  9:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 10:16 [PATCH v2 0/1] net/macb: add TX multiqueue support for gem Cyrille Pitchen
2014-12-11 10:16 ` [PATCH v2 1/1] " Cyrille Pitchen
2014-12-11 19:31   ` Thomas Petazzoni
2014-12-12  8:24     ` Cyrille Pitchen
2014-12-12  9:45     ` David Laight
2014-12-12  8:59       ` Cyrille Pitchen
2014-12-12  9:59         ` David Laight
2014-12-12  9:57           ` Cyrille Pitchen
2014-12-12  9:52       ` Thomas Petazzoni

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).