1. 09 Mar, 2018 36 commits
  2. 08 Mar, 2018 4 commits
    • David S. Miller's avatar
      Merge tag 'mlx5-updates-2018-02-28-2' of... · fd372a7a
      David S. Miller authored
      Merge tag 'mlx5-updates-2018-02-28-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux
      
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2018-02-28-2 (IPSec-2)
      
      This series follows our previous one to lay out the foundations for IPSec
      in user-space and extend current kernel netdev IPSec support. As noted in
      our previous pull request cover letter "mlx5-updates-2018-02-28-1 (IPSec-1)",
      the IPSec mechanism will be supported through our flow steering mechanism.
      Therefore, we need to change the initialization order. Furthermore, IPsec
      is also supported in both egress and ingress. Since our current flow
      steering is egress only, we add an empty (only implemented through FPGA
      steering ops) egress namespace to handle that case. We also implement
      the required flow steering callbacks and logic in our FPGA driver.
      
      We extend the FPGA support for ESN and modifying a xfrm too. Therefore, we
      add support for some new FPGA command interface that supports them. The
      other required bits are added too. The new features and requirements are
      advertised via cap bits.
      
      Last but not least, we revise our driver's accel_esp API. This API will be
      shared between our netdev and IB driver, so we need to have all the required
      functionality from both worlds.
      
      Regards,
      Aviad and Matan
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fd372a7a
    • David S. Miller's avatar
      Merge branch 'ibmvnic-Clean-up-net-close-and-fix-reset-bug' · 10c56b8d
      David S. Miller authored
      Thomas Falcon says:
      
      ====================
      ibmvnic: Clean up net close and fix reset bug
      
      This patch set cleans up and reorganizes the driver's net_device
      close function and leverages that to fix up a bug that can occur
      during some device resets. Some reset cases require the backing
      adapter to be disabled before continuing, but other cases, such as
      during a device failover or partition migration, do not require this
      step. Since the device will not be initialized at this stage and
      its command-processing queue is closed, do not send the request to
      disable the device as it could result in an error or timeout
      disrupting the reset.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      10c56b8d
    • Thomas Falcon's avatar
      ibmvnic: Do not disable device during failover or partition migration · 18b8d6bb
      Thomas Falcon authored
      During a device failover or partition migration reset, it is not
      necessary to disable the backing adapter since it should not be
      running yet and its Command-Response Queue is closed. Sending
      device commands during this time could result in an error or
      timeout disrupting the reset process. In these cases, just halt
      transmissions, clean up resources, and continue with reset.
      Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      18b8d6bb
    • Thomas Falcon's avatar
      ibmvnic: Reorganize device close · 01d9bd79
      Thomas Falcon authored
      Introduce a function to halt network operations and clean up any
      unused or outstanding socket buffers. Then, during device close,
      disable backing adapter before halting all queues and performing
      cleanup. This ensures all backing device operations will be
      stopped before the driver cleans up shared resources.
      Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      01d9bd79