Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153584263
D21337.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
755 B
Referenced Files
None
Subscribers
None
D21337.diff
View Options
Index: sys/dev/bnxt/if_bnxt.c
===================================================================
--- sys/dev/bnxt/if_bnxt.c
+++ sys/dev/bnxt/if_bnxt.c
@@ -315,11 +315,11 @@
.isc_nrxd_default = {PAGE_SIZE / sizeof(struct cmpl_base) * 8,
PAGE_SIZE / sizeof(struct rx_prod_pkt_bd),
PAGE_SIZE / sizeof(struct rx_prod_pkt_bd)},
- .isc_nrxd_max = {INT32_MAX, INT32_MAX, INT32_MAX},
+ .isc_nrxd_max = {1 << 30, 1 << 30, 1 << 30},
.isc_ntxd_min = {16, 16, 16},
.isc_ntxd_default = {PAGE_SIZE / sizeof(struct cmpl_base) * 2,
PAGE_SIZE / sizeof(struct tx_bd_short)},
- .isc_ntxd_max = {INT32_MAX, INT32_MAX, INT32_MAX},
+ .isc_ntxd_max = {1 << 30, 1 << 30, 1 << 30},
.isc_admin_intrcnt = 1,
.isc_vendor_info = bnxt_vendor_info_array,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 23, 3:09 AM (9 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31982751
Default Alt Text
D21337.diff (755 B)
Attached To
Mode
D21337: bnxt: Set max number of descriptors to a power of 2
Attached
Detach File
Event Timeline
Log In to Comment