|
@@ -576,7 +576,7 @@ static void setup_rss(struct adapter *adap)
|
|
|
unsigned int nq0 = adap2pinfo(adap, 0)->nqsets;
|
|
|
unsigned int nq1 = adap->port[1] ? adap2pinfo(adap, 1)->nqsets : 1;
|
|
|
u8 cpus[SGE_QSETS + 1];
|
|
|
- u16 rspq_map[RSS_TABLE_SIZE];
|
|
|
+ u16 rspq_map[RSS_TABLE_SIZE + 1];
|
|
|
|
|
|
for (i = 0; i < SGE_QSETS; ++i)
|
|
|
cpus[i] = i;
|
|
@@ -586,6 +586,7 @@ static void setup_rss(struct adapter *adap)
|
|
|
rspq_map[i] = i % nq0;
|
|
|
rspq_map[i + RSS_TABLE_SIZE / 2] = (i % nq1) + nq0;
|
|
|
}
|
|
|
+ rspq_map[RSS_TABLE_SIZE] = 0xffff; /* terminator */
|
|
|
|
|
|
t3_config_rss(adap, F_RQFEEDBACKENABLE | F_TNLLKPEN | F_TNLMAPEN |
|
|
|
F_TNLPRTEN | F_TNL2TUPEN | F_TNL4TUPEN |
|