1. 15 7月, 2015 1 次提交
  2. 16 6月, 2015 4 次提交
  3. 13 6月, 2015 8 次提交
  4. 02 6月, 2015 2 次提交
  5. 31 5月, 2015 2 次提交
  6. 25 5月, 2015 2 次提交
    • O
      net/mlx4_core: Modify port values when generting EQEs for VFs · 74d4943f
      Or Gerlitz 提交于
      As part of enabling single ported VFs over IB ports we need to handle
      some of the flows for generting EQ events for VFs which don't come
      into play under Eth ports.
      
      This mainly includes port management events derived from changes of the
      phyiscal port (lid change, client re-register, down/up, etc), VF pkey table
      changes and VF guid changes initiated by the IB driver.
      
      (1) make sure that events are generated only for VFs sitting on
          the relevant physical port (under the ALL_SLAVES flow).
      
      (2) before generating the event, convert from physical (one or two)
          to VF port (always equals one).
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      74d4943f
    • O
      IB/mlx4: Convert slave port before building address-handle · 430910b1
      Or Gerlitz 提交于
      When multiplexling a MAD sent from VF, we should convert the port used
      by the guest to send the packet to the actual physical port which will be
      used to transmit the packet, before building the relevant address-handle (AH).
      
      This is needed under VPI for single ported VFs, since the code that builds
      the AH (mlx4_ib_query_ah()) makes decisions based on the input port. If we
      use the port number provided by the guest, it might have different protocol
      vs. the one this packat has to go from, and hence the result could be wrong.
      
      So far, the conversion was done after the AH was built and it worked for
      single ported Eth VFs which were not enabled under VPI. When adding support
      for single ported IB VFs and VPI, we hit that.
      
      Fixes: 449fc488 ('net/mlx4: Adapt code for N-Port VF')
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      430910b1
  7. 21 5月, 2015 2 次提交
  8. 19 5月, 2015 1 次提交
  9. 13 5月, 2015 1 次提交
  10. 16 4月, 2015 7 次提交
  11. 03 4月, 2015 1 次提交
  12. 19 3月, 2015 2 次提交
  13. 18 2月, 2015 3 次提交
  14. 17 2月, 2015 1 次提交
  15. 10 2月, 2015 2 次提交
    • Y
      IB/mlx4: Reset flow support for IB kernel ULPs · 35f05dab
      Yishai Hadas 提交于
      The driver exposes interfaces that directly relate to HW state. Upon fatal
      error, consumers of these interfaces (ULPs) that rely on completion of
      all their posted work-request could hang, thereby introducing dependencies
      in shutdown order.  To prevent this from happening, we manage the
      relevant resources (CQs, QPs) that are used by the device. Upon a fatal error,
      we now generate simulated completions for outstanding WQEs that were not
      completed at the time the HW was reset.
      
      It includes invoking the completion event handler for all involved CQs so that
      the ULPs will poll those CQs. When polled we return simulated CQEs with
      IB_WC_WR_FLUSH_ERR return code enabling ULPs to clean up their resources and
      not wait forever for completions upon receiving remove_one.
      
      The above change requires an extra check in the data path to make sure that when
      device is in error state, the simulated CQEs will be returned and no further
      WQEs will be posted.
      Signed-off-by: NYishai Hadas <yishaih@mellanox.com>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      35f05dab
    • M
      IB/mlx4: Always use the correct port for mirrored multicast attachments · 824c25c1
      Moni Shoua 提交于
      When attaching a QP to a multicast address in bonded mode, there was an
      assumption that the port of the QP must be #1. This assumption isn't the
      case under the flow which enables maximal usage of the physical ports.
      
      Fix it by always checking the port of the original flow and create the
      mirrored flow on the other port.
      
      Fixes: c6215745 ('IB/mlx4: Load balance ports in port aggregation mode')
      Signed-off-by: NMoni Shoua <monis@mellanox.com>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      824c25c1
  16. 05 2月, 2015 1 次提交