1. 28 3月, 2014 10 次提交
  2. 28 2月, 2014 4 次提交
    • M
      ath10k: remove pci completion list · 2f5280da
      Michal Kazior 提交于
      One of the premises was to guarantee serialized
      completion handling for upper layers
      (HTC/WMI/HTT). Since quite some time now it is no
      longer necessary.
      
      The other premise was to batch up tx/rx
      completions to take advantage of hot caches.
      However frame tx/rx completion indications come in
      on a single pipe already so they are already
      batched up. More meaningful batching is done in
      HTT itself.
      
      This means PCI completion is no longer necessary
      to keep around. It just wastes memory, cycles and
      SLOC.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      2f5280da
    • M
      ath10k: bypass htc for htt tx path · a16942e6
      Michal Kazior 提交于
      Going through full htc tx path for htt tx is a
      waste of resources. By skipping it it's possible
      to easily submit scatter-gather to the pci hif for
      reduced host cpu load and improved performance.
      
      The new approach uses dma pool to store the
      following metadata for each tx request:
       * msdu fragment list
       * htc header
       * htt tx command
      
      The htt tx command contains a msdu prefetch.
      Instead of copying it original mapped msdu address
      is used to submit a second scatter-gather item to
      hif to make a complete htt tx command.
      
      The htt tx command itself hands over dma mapped
      pointers to msdus and completion of the command
      itself doesn't mean the frame has been sent and
      can be unmapped/freed. This is why htc tx
      completion is skipped for htt tx as all tx related
      resources are freed upon htt tx completion
      indication event (which also implicitly means htt
      tx command itself was completed).
      
      Since now each htt tx request effectively consists
      of 2 copy engine items CE_HTT_H2T_MSG_SRC_NENTRIES
      is updated to allow maximum of
      TARGET_10X_NUM_MSDU_DESC msdus being queued. This
      keeps the tx path resource management simple.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      a16942e6
    • M
      ath10k: replace send_head() with tx_sg() · 726346fc
      Michal Kazior 提交于
      PCI is capable of handling scatter-gather lists.
      This can be used to avoid copying memory.
      
      Change the name of the callback while at to
      reflect its purpose.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      726346fc
    • M
      ath10k: remove is_aborted from skb_cb · 7676a888
      Michal Kazior 提交于
      The flag wasn't used anymore. No need to keep it.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      7676a888
  3. 14 2月, 2014 3 次提交
  4. 13 2月, 2014 1 次提交
  5. 23 1月, 2014 1 次提交
  6. 27 11月, 2013 8 次提交
  7. 20 11月, 2013 2 次提交
  8. 13 11月, 2013 11 次提交