summaryrefslogtreecommitdiffstats
path: root/include/linux/net.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-12-12 15:17:32 -0500
committerDavid S. Miller <davem@davemloft.net>2014-12-12 15:17:32 -0500
commiteea3e8fde92999248863e4de93f325fcf3833a14 (patch)
treea036796bdb767a4e47309781efb95ccc769b16a9 /include/linux/net.h
parentd717e90420db737325928959a6b8651bb88a304a (diff)
parent02c958dd344643259212e50f04f0ec90a3ace34c (diff)
downloadtalos-obmc-linux-eea3e8fde92999248863e4de93f325fcf3833a14.tar.gz
talos-obmc-linux-eea3e8fde92999248863e4de93f325fcf3833a14.zip
Merge branch 'gem'
Cyrille Pitchen says: ==================== net/macb: add TX multiqueue support for gem ChangeLog v3: - reduce the number of added #define in macb.h - simplify the queue initialization - add some more comments - use "hw_q" index when dealing with the hardware queue mask and "q" index for linux (software) queue index in "for" loops 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. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/net.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud