]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: 279098
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Mar 2015 11:04:12 +0000 (11:04 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Mar 2015 11:04:12 +0000 (11:04 +0000)
commit68975ce35fa1501843786dc65805e6643000c1b3
treeadc5c03ab98b2d4b7131548359d92e466a6180c6
parentd7766d7f2e0ef9bcaa9d9141a9977ba5fdba6858
MFC: 279098

sfxge: allow TX and RX queue limits to be changed

Before the common code had hard coded limits on the IDs RXQs and TXQs could
be created with which were suited for the Windows driver with VMQ, and so
would prevent queues with IDs greater than or equal to 259 (for TXQs) or 768
(for RXQs) from being created. This change allows the limits to be set in
efsys.h, so that all 1024 queues can be created during new manftest tests.
Also, the descriptor cache sizes were also hard coded to values suited to
the smaller queue counts, and so it was necessary to make them configurable
as well.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/10@280562 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/efx.h
sys/dev/sfxge/common/efx_impl.h
sys/dev/sfxge/common/siena_nic.c
sys/dev/sfxge/common/siena_sram.c