1. 31 8月, 2015 8 次提交
  2. 29 8月, 2015 1 次提交
  3. 15 7月, 2015 6 次提交
  4. 16 6月, 2015 4 次提交
  5. 13 6月, 2015 8 次提交
  6. 02 6月, 2015 2 次提交
  7. 31 5月, 2015 2 次提交
  8. 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
  9. 21 5月, 2015 2 次提交
  10. 19 5月, 2015 1 次提交
  11. 13 5月, 2015 1 次提交
  12. 16 4月, 2015 3 次提交