|
@@ -822,7 +822,8 @@ static inline int bnx2x_calc_num_queues(struct bnx2x *bp)
|
|
|
{
|
|
|
return num_queues ?
|
|
|
min_t(int, num_queues, BNX2X_MAX_QUEUES(bp)) :
|
|
|
- min_t(int, num_online_cpus(), BNX2X_MAX_QUEUES(bp));
|
|
|
+ min_t(int, netif_get_num_default_rss_queues(),
|
|
|
+ BNX2X_MAX_QUEUES(bp));
|
|
|
}
|
|
|
|
|
|
static inline void bnx2x_clear_sge_mask_next_elems(struct bnx2x_fastpath *fp)
|