lkml.org 
[lkml]   [2014]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH net-next,v2] Add support for netvsc build without CONFIG_SYSFS flag
Date
> ________________________________________
> From: Ben Hutchings <ben@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

\
 
 \ /
  Last update: 2014-05-12 01:41    [W:0.031 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site