git: if_iwm - Use mbuf for large firmware commands, like OpenBSD does.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Jun 11 09:00:09 PDT 2016


commit 65b2e1ba01c1ac9098eebea118d71cbc78eac25a
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Jun 11 13:46:33 2016 +0200

    if_iwm - Use mbuf for large firmware commands, like OpenBSD does.
    
    * We also need to consider the size of large firmware commands in
      iwm_alloc_tx_ring(), in the dma tag creation, when
      qid == IWM_MVM_CMD_QUEUE.
    
    Inspired-by: OpenBSD and existing code in iwm_rx_addbuf()

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c      | 17 ++++++++++++---
 sys/dev/netif/iwm/if_iwm_util.c | 47 +++++++++++++++++++++--------------------
 2 files changed, 38 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65b2e1ba01c1ac9098eebea118d71cbc78eac25a


-- 
DragonFly BSD source repository



More information about the Commits mailing list