1. 02 9月, 2019 2 次提交
  2. 28 8月, 2019 1 次提交
  3. 21 8月, 2019 4 次提交
  4. 13 8月, 2019 1 次提交
  5. 08 8月, 2019 1 次提交
  6. 04 8月, 2019 1 次提交
  7. 02 8月, 2019 4 次提交
  8. 12 7月, 2019 1 次提交
    • S
      net/mlx5e: Rx, Fix checksum calculation for new hardware · db849faa
      Saeed Mahameed 提交于
      CQE checksum full mode in new HW, provides a full checksum of rx frame.
      Covering bytes starting from eth protocol up to last byte in the received
      frame (frame_size - ETH_HLEN), as expected by the stack.
      
      Fixing up skb->csum by the driver is not required in such case. This fix
      is to avoid wrong checksum calculation in drivers which already support
      the new hardware with the new checksum mode.
      
      Fixes: 85327a9c ("net/mlx5: Update the list of the PCI supported devices")
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      db849faa
  9. 07 7月, 2019 1 次提交
    • M
      net/mlx5: Introduce VHCA tunnel device capability · 1dd7382b
      Max Gurtovoy 提交于
      When using the device emulation feature (introduced in Bluefield-1 SOC),
      a privileged function (the device emulation manager) will be able to
      create a channel to execute commands on behalf of the emulated function.
      
      This channel will be a general object of type VHCA_TUNNEL that will have
      a unique ID for each emulated function. This ID will be passed in each
      cmd that will be issued by the emulation SW in a well known offset in
      the command header.
      
      This channel is needed since the emulated function doesn't have a normal
      command interface to the HCA HW, but some basic configuration for that
      function is needed (e.g. initialize and enable the HCA). For that matter,
      a specific command-set was defined and only those commands will be issued
      by the HCA.
      Signed-off-by: NMax Gurtovoy <maxg@mellanox.com>
      Reviewed-by: NYishai Hadas <yishaih@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      1dd7382b
  10. 06 7月, 2019 1 次提交
  11. 05 7月, 2019 2 次提交
  12. 04 7月, 2019 8 次提交
  13. 02 7月, 2019 9 次提交
  14. 29 6月, 2019 1 次提交
    • A
      net/mlx5e: reduce stack usage in mlx5_eswitch_termtbl_create · 5233794b
      Arnd Bergmann 提交于
      Putting an empty 'mlx5_flow_spec' structure on the stack is a bit
      wasteful and causes a warning on 32-bit architectures when building
      with clang -fsanitize-coverage:
      
      drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c: In function 'mlx5_eswitch_termtbl_create':
      drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c:90:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
      
      Since the structure is never written to, we can statically allocate
      it to avoid the stack usage. To be on the safe side, mark all
      subsequent function arguments that we pass it into as 'const'
      as well.
      
      Fixes: 10caabda ("net/mlx5e: Use termination table for VLAN push actions")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NSaeed Mahameed <saeedm@mellanox.com>
      Acked-by: NMark Bloch <markb@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      5233794b
  15. 27 6月, 2019 3 次提交