mbox series

[RFC,00/12] mt76usb: some cleanups and optimizations

Message ID 1552403166-3821-1-git-send-email-sgruszka@redhat.com (mailing list archive)
Headers show
Series mt76usb: some cleanups and optimizations | expand

Message

Stanislaw Gruszka March 12, 2019, 3:05 p.m. UTC
This should be rebased on latest patches, for now sent as RFC.

Significant change is remove mt76u_buf and use urb directly
and allocate urb and sg as linear data for better cache usage.
Other that that, set consist only of some minor cleanups.

Stanislaw Gruszka (12):
  mt76usb: change mt76u_submit_buf
  mt76: remove rx_page_lock
  mt76usb: change mt76u_fill_rx_sg arguments
  mt76usb: use usb_dev private data
  mt76usb: remove mt76u_buf redundant fileds
  mt76usb: move mt76u_buf->done to queue entry
  mt76usb: remove mt76u_buf and use urb directly
  mt76usb: remove MT_RXQ_MAIN queue from mt76u_urb_alloc
  mt76usb: resue mt76u_urb_alloc for tx
  mt76usb: remove unneded sg_init_table
  mt76usb: allocate urb and sg as linear data
  mt76usb: remove queue variable from rx_tasklet

 drivers/net/wireless/mediatek/mt76/mt76.h       |  15 +-
 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c |   2 +-
 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c |   4 +-
 drivers/net/wireless/mediatek/mt76/usb.c        | 231 +++++++++++-------------
 4 files changed, 111 insertions(+), 141 deletions(-)