• Sara Sharon's avatar
    iwlwifi: pcie: add infrastructure for multi-queue rx · 78485054
    Sara Sharon authored
    The 9000 series devices will support multi rx queues.
    Current code has one static rx queue - change it to allocate
    a number of queues per the device capability (pre-9000 devices
    have the number of rx queues set to one).
    
    Subsequent generalizations are:
    
    Change the code to access an explicit numbered rx queue only
    when the queue number is known - when handling interrupt, when
    accessing the default queue and when iterating the queues.
    The rest of the functions will receive the rx queue as a pointer.
    
    Generalize the warning in allocation failure to consider the
    allocator status instead of a single rx queue status.
    
    Move the rx initial pool of memory buffers to be shared among
    all the queues and allocated to the default queue on init.
    Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    78485054
rx.c 46.9 KB