]> git.baikalelectronics.ru Git - kernel.git/commit
mt76usb: allocate urb and sg as linear data
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 21 Mar 2019 15:25:36 +0000 (16:25 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:03:57 +0000 (13:03 +0200)
commit6c5fd90ea12df6ba6e4e5b2464d8a401d3996b8e
treef6bbb5dd883846a5b2ca0daa0d20c36ad1f120dd
parentd0ebf5c17413f1791d9977627d182b8295b1c562
mt76usb: allocate urb and sg as linear data

Alloc sg table at the end of urb structure. This will increase
cache usage.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/usb.c