diff options
author | Willy Tarreau | 2020-10-11 11:09:43 +0200 |
---|---|---|
committer | Jakub Kicinski | 2020-10-13 16:57:12 -0700 |
commit | 73d7422813839bbcae3dd28ff0d3c48d916e0b57 (patch) | |
tree | 01a2f1d7d9f082fbd0201893a58c6cce0029e1bf /lib/vdso | |
parent | fa6031df12fcbc1cd21586576046d821f2cef2e2 (diff) |
macb: prepare at91 to use a 2-frame TX queue
The RM9200 supports one frame being sent while another one is waiting in
queue. This avoids the dead time that follows the emission of a frame
and which prevents one from reaching line speed.
Right now the driver supports only a single skb, so we'll first replace
the rm9200-specific skb info with an array of two macb_tx_skb (already
used by other drivers). This patch only moves the skb_length to
txq[0].size and skb_physaddr to skb[0].mapping but doesn't perform any
other change. It already uses [desc] in order to minimize future changes.
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20201011090944.10607-3-w@1wt.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/vdso')
0 files changed, 0 insertions, 0 deletions