1. 03 4月, 2019 5 次提交
  2. 15 2月, 2019 13 次提交
  3. 03 2月, 2019 2 次提交
  4. 24 1月, 2019 1 次提交
  5. 15 1月, 2019 1 次提交
  6. 21 12月, 2018 2 次提交
    • T
      net/mlx5e: XDP, Support Enhanced Multi-Packet TX WQE · 5e0d2eef
      Tariq Toukan 提交于
      Add support for the HW feature of multi-packet WQE in XDP
      xmit flow.
      
      The conventional TX descriptor (WQE, Work Queue Element) serves
      a single packet. Our HW has support for multi-packet WQE (MPWQE)
      in which a single descriptor serves multiple TX packets.
      
      This reduces both the PCI overhead and the CPU cycles wasted on
      writing them.
      
      In this patch we add support for the HW feature, which is supported
      starting from ConnectX-5.
      
      Performance:
      Tested packet rate for UDP 64Byte multi-stream over ConnectX-5 NICs.
      CPU: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
      
      XDP_TX:
      We see a huge gain on single port ConnectX-5, and reach the 100 Mpps
      milestone.
      * Single-port HCA:
      	Before:   70 Mpps
      	After:   100 Mpps (+42.8%)
      
      * Dual-port HCA:
      	Before: 51.7 Mpps
      	After:  57.3 Mpps (+10.8%)
      
      * In both cases we tested traffic on one port and for now On Dual-port HCAs
        we see only small gain, we are working to overcome this bottleneck, but
        for the moment only with experimental firmware on dual port HCAs we can
        reach the wanted numbers as seen on Single-port HCAs.
      
      XDP_REDIRECT:
      Redirect from (A) ConnectX-5 to (B) ConnectX-5.
      Due to a setup limitation, (A) and (B) are on different NUMA nodes,
      so absolute performance numbers are not optimal.
      Note:
        Below is the transmit rate of (B), not the redirect rate of (A)
        which is in some cases higher.
      
      * (B) is single-port:
      	Before:   77 Mpps
      	After:    90 Mpps (+16.8%)
      
      * (B) is dual-port:
      	Before:  61 Mpps
      	After:   72 Mpps (+18%)
      Signed-off-by: NTariq Toukan <tariqt@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      5e0d2eef
    • Y
      IB/mlx5: Use the correct commands for UMEM and UCTX allocation · 6e3722ba
      Yishai Hadas 提交于
      During testing the command format was changed to close a security
      hole. Revise the driver to use the command format that will actually be
      supported in GA firmware.
      
      Both the UMEM and UCTX are intended only for use by the kernel and cannot
      be executed using a general command.
      
      Since the UMEM and CTX are not part of the general object the caps bits
      were moved to be some log_xxx location in the general HCA caps.
      
      The firmware code was adapted as well to match the above.
      
      Fixes: a8b92ca1 ("IB/mlx5: Introduce DEVX")
      Signed-off-by: NYishai Hadas <yishaih@mellanox.com>
      Reviewed-by: NAchiad Shochat <achiad@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      6e3722ba
  7. 20 12月, 2018 1 次提交
  8. 19 12月, 2018 1 次提交
  9. 15 12月, 2018 4 次提交
  10. 13 12月, 2018 1 次提交
  11. 12 12月, 2018 3 次提交
  12. 11 12月, 2018 6 次提交