Date: Sat, 10 Dec 2016 17:06:56 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309821 - head/sys/dev/usb/wlan Message-ID: <201612101706.uBAH6utm054363@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Sat Dec 10 17:06:55 2016 New Revision: 309821 URL: https://svnweb.freebsd.org/changeset/base/309821 Log: rsu: increase Rx buffer size from 8k to 30k. This is required for USB Rx aggregation (and fixes 'could not allocate RX mbuf' / few other failures). While here, reduce the number of Rx buffers from 100 to 1 - the driver never uses more than one Rx buffer. Tested with Asus USB-N10. Modified: head/sys/dev/usb/wlan/if_rsureg.h Modified: head/sys/dev/usb/wlan/if_rsureg.h ============================================================================== --- head/sys/dev/usb/wlan/if_rsureg.h Sat Dec 10 16:41:55 2016 (r309820) +++ head/sys/dev/usb/wlan/if_rsureg.h Sat Dec 10 17:06:55 2016 (r309821) @@ -688,10 +688,10 @@ struct r92s_add_ba_req { /* * Driver definitions. */ -#define RSU_RX_LIST_COUNT 100 +#define RSU_RX_LIST_COUNT 1 #define RSU_TX_LIST_COUNT 32 -#define RSU_RXBUFSZ (8 * 1024) +#define RSU_RXBUFSZ (30 * 1024) #define RSU_TXBUFSZ \ ((sizeof(struct r92s_tx_desc) + IEEE80211_MAX_LEN + 3) & ~3)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612101706.uBAH6utm054363>