diff options
| author | Willy Tarreau <[email protected]> | 2020-10-11 09:09:43 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-10-13 23:57:12 +0000 |
| commit | 73d7422813839bbcae3dd28ff0d3c48d916e0b57 (patch) | |
| tree | 01a2f1d7d9f082fbd0201893a58c6cce0029e1bf /net/unix/scm.c | |
| parent | macb: add RM9200's interrupt flag TBRE (diff) | |
| download | kernel-73d7422813839bbcae3dd28ff0d3c48d916e0b57.tar.gz kernel-73d7422813839bbcae3dd28ff0d3c48d916e0b57.zip | |
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 <[email protected]>
Cc: Claudiu Beznea <[email protected]>
Cc: Daniel Palmer <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions
