1. 01 1月, 2014 3 次提交
    • O
      net/mlx4_en: Add netdev support for TCP/IP offloads of vxlan tunneling · 837052d0
      Or Gerlitz 提交于
      When the device tunneling offloads mode is vxlan do the following
      
       - call SET_PORT with the relevant setting
      
       - add DMFS steering vxlan rule for the device self and multicast mac addresses
         of the form: {<ETH, outer-mac> <VXLAN, ANY vnid> <ETH, ANY mac>} --> RSS QP
      
       - set relevant QPC fields in RSS context and RX ring QPs
      
       - in TX flow, set WQE fields to generate HW checksum, and handle gso skbs
         which are marked for encapsulation such that the HW will segment them properly.
      
       - in RX flow, read HW offloaded checksum for encapsulated packets from the CQE
      
       - advertize hw_enc_features and NETIF_F_GSO_UDP_TUNNEL to the networking stack
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      837052d0
    • O
      net/mlx4_core: Add basic support for TCP/IP offloads under tunneling · 7ffdf726
      Or Gerlitz 提交于
      Add the low-level device commands and definitions used for TCP/IP HW offloads
      of tunneled/vxlan traffic which are supported by the ConnectX3-pro NIC.
      
      This is done through the following elements:
      
       - read tunneling device caps in QUERY_DEV_CAP
       - add helper function to do SET_PORT for tunneling
       - add DMFS VXLAN steering rule definitions
       - add CQE and WQE checksum offload field definitions
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7ffdf726
    • T
      tun: Add support for RFS on tun flows · 9bc88939
      Tom Herbert 提交于
      This patch adds support so that the rps_flow_tables (RFS) can be
      programmed using the tun flows which are already set up to track flows
      for the purposes of queue selection.
      
      On the receive path (corresponding to select_queue and tun_net_xmit) the
      rxhash is saved in the flow_entry.  The original code only does flow
      lookup in select_queue, so this patch adds a flow lookup in tun_net_xmit
      if num_queues == 1 (select_queue is not called from
      dev_queue_xmit->netdev_pick_tx in that case).
      
      The flow is recorded (processing CPU) in tun_flow_update (TX path), and
      reset when flow is deleted.
      Signed-off-by: NTom Herbert <therbert@google.com>
      Signed-off-by: NZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9bc88939
  2. 31 12月, 2013 2 次提交
  3. 30 12月, 2013 1 次提交
  4. 29 12月, 2013 2 次提交
  5. 28 12月, 2013 4 次提交
  6. 27 12月, 2013 22 次提交
  7. 23 12月, 2013 2 次提交
  8. 22 12月, 2013 1 次提交
  9. 21 12月, 2013 3 次提交