> ________________________________________ > From: Ben Hutchings <b...@decadent.org.uk> > Sent: Sunday, May 11, 2014 9:07 AM > To: Haiyang Zhang > I think most other drivers have a 1-1 mapping between hardware RX queues > and the RX queue indices reported to Linux. It appears that in this > case sub_channel_index is the 'hardware' queue number, but you think > there is not a 1-1 mapping. Why is that?
Actually, it is 1-1 mapping. The number of channels equals to the number of queues. In my updated patch (v3) the unnecessary "% ndev->real_num_rx_queues" has been removed. Thanks, - Haiyang-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/