1. 29 3月, 2014 1 次提交
    • S
      be2net: add FW cmds needed for VxLAN offloads · a401801c
      Sathya Perla 提交于
      This patch adds support for the FW cmds needed for VxLAN offloads
      on Skyhawk-R:
      1) The VxLAN UDP port needs to be configured via the port-desc of
         SET_PROFILE_CONFIG_v1 cmd.
         This patch re-factors the be_set_profile_config() code (used so far
         only for setting VF QoS) to be used to set any type of descriptor.
      2) The MANAGE_IFACE_FILTERS cmds is needed to convert a normal interface
         into a tunnel interface. This allows for RSS to work even on the inner
         TCP/UDP headers of VxLAN traffic.
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a401801c
  2. 15 3月, 2014 1 次提交
  3. 13 3月, 2014 8 次提交
  4. 07 3月, 2014 1 次提交
  5. 05 3月, 2014 1 次提交
    • S
      be2net: dma_sync each RX frag before passing it to the stack · e50287be
      Sathya Perla 提交于
      The driver currently maps a page for DMA, divides the page into multiple
      frags and posts them to the HW. It un-maps the page after data is received
      on all the frags of the page. This scheme doesn't work when bounce buffers
      are used for DMA (swiotlb=force kernel param).
      
      This patch fixes this problem by calling dma_sync_single_for_cpu() for each
      frag (excepting the last one) so that the data is copied from the bounce
      buffers. The page is un-mapped only when DMA finishes on the last frag of
      the page.
      (Thanks Ben H. for suggesting the dma_sync API!)
      
      This patch also renames the "last_page_user" field of be_rx_page_info{}
      struct to "last_frag" to improve readability of the fixed code.
      Reported-by: NLi Fengmao <li.fengmao@zte.com.cn>
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e50287be
  6. 04 3月, 2014 4 次提交
  7. 19 2月, 2014 1 次提交
  8. 14 2月, 2014 3 次提交
  9. 22 1月, 2014 1 次提交
  10. 16 1月, 2014 12 次提交
  11. 07 1月, 2014 3 次提交
  12. 01 1月, 2014 1 次提交
  13. 19 12月, 2013 1 次提交
  14. 07 12月, 2013 2 次提交