NCHAN
u32 loopback_used[NCHAN];
u32 loopback_alloc[NCHAN];
u8 chan_map[NCHAN]; /* channel -> port map */
unsigned short tx_modq[NCHAN]; /* channel to modulation queue map */
MAX_CTRL_QUEUES = NCHAN, /* # of control Tx queues */
struct sge_eth_rxq *mirror_rxq[NCHAN];
struct tp_fcoe_stats stats[NCHAN];
if (adap->params.arch.nchan == NCHAN)
u64 nrate[NCHAN], orate[NCHAN];
if (adap->params.arch.nchan == NCHAN) {
for (i = 0; i < NCHAN; i++)
unsigned short tx_modq[NCHAN]; /* maps each tx channel to a */
if (unlikely(pi->ethtool_lb.loopback && pkt->iff >= NCHAN)) {
if (adap->params.arch.nchan == NCHAN) {
if (adap->params.arch.nchan == NCHAN) {
adapter->params.arch.nchan = NCHAN;
adapter->params.arch.nchan = NCHAN;
for (chan = 0; chan < NCHAN; chan++)