1. 01 9月, 2017 1 次提交
  2. 31 8月, 2017 3 次提交
    • G
      net/mlx5e: Support RSS for GRE tunneled packets · 7b3722fa
      Gal Pressman 提交于
      Introduce a new flow table and indirect TIRs which are used to hash the
      inner packet headers of GRE tunneled packets.
      
      When a GRE tunneled packet is received, the TTC flow table will match
      the new IPv4/6->GRE rules which will forward it to the inner TTC table.
      The inner TTC is similar to its counterpart outer TTC table, but
      matching the inner packet headers instead of the outer ones (and does
      not include the new IPv4/6->GRE rules).
      The new rules will not add steering hops since they are added to an
      already existing flow group which will be matched regardless of this
      patch. Non GRE traffic will not be affected.
      
      The inner flow table will forward the packet to inner indirect TIRs
      which hash the inner packet and thus result in RSS for the tunneled
      packets.
      
      Testing 8 TCP streams bandwidth over GRE:
      System: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
      NIC: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
      Before: 21.3 Gbps (Single RQ)
      Now   : 90.5 Gbps (RSS spread on 8 RQs)
      Signed-off-by: NGal Pressman <galp@mellanox.com>
      Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      7b3722fa
    • G
      net/mlx5e: Support TSO and TX checksum offloads for GRE tunnels · 27299841
      Gal Pressman 提交于
      Add TX offloads support for GRE tunneled packets by reporting the needed
      netdev features.
      Signed-off-by: NGal Pressman <galp@mellanox.com>
      Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      27299841
    • G
      net/mlx5e: Use IP version matching to classify IP traffic · 888fcd9c
      Gal Pressman 提交于
      This change adds the ability for flow steering to classify IPv4/6
      packets with MPLS tag (Ethertype 0x8847 and 0x8848) as standard IP
      packets and hit IPv4/6 classification steering rules.
      
      Since IP packets with MPLS tag header have MPLS ethertype, they
      missed the IPv4/6 ethertype rule and ended up hitting the default
      filter forwarding all the packets to the same single RQ (No RSS).
      
      Since our device is able to look past the MPLS tag and identify the
      next protocol we introduce this solution which replaces ethertype
      matching by the device's capability to perform IP version
      identification and matching in order to distinguish between IPv4 and
      IPv6.
      Therefore, when driver is performing flow steering configuration on the
      device it will use IP version matching in IP classified rules instead
      of ethertype matching which will cause relevant MPLS tagged packets to
      hit this rule as well.
      
      If the device doesn't support IP version matching the driver will fall back
      to use legacy ethertype matching in the steering as before.
      Signed-off-by: NGal Pressman <galp@mellanox.com>
      Signed-off-by: NAriel Levkovich <lariel@mellanox.com>
      Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      888fcd9c
  3. 30 8月, 2017 4 次提交
  4. 29 8月, 2017 2 次提交
  5. 25 8月, 2017 12 次提交
  6. 24 8月, 2017 11 次提交
  7. 20 8月, 2017 7 次提交