1. 14 9月, 2017 1 次提交
  2. 04 9月, 2017 2 次提交
  3. 30 8月, 2017 1 次提交
  4. 26 8月, 2017 1 次提交
  5. 24 8月, 2017 1 次提交
  6. 19 8月, 2017 1 次提交
  7. 28 7月, 2017 1 次提交
    • J
      nfp: remove the probe deferral when FW not present · 26a8985f
      Jakub Kicinski 提交于
      We use a hack to defer probe when firmware was not pre-loaded
      or found on disk.  This helps in case users forgot to include
      firmware in initramfs, the driver will most likely get another
      shot at probing after real root is mounted.
      
      This is not for what EPROBE_DEFER is supposed to be used, and
      when FW is completely missing every time new device is probed
      NFP will reprobe spamming kernel logs.
      
      Remove this hack, users will now have to make sure the right
      firmware image is present in initramfs if nfp.ko is placed
      there or built in.
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      26a8985f
  8. 05 7月, 2017 2 次提交
    • J
      nfp: remove legacy MAC address lookup · cb2cda48
      Jakub Kicinski 提交于
      The legacy MAC address lookup doesn't work well with breakout
      cables.  We are probably better off picking random addresses
      than the wrong ones in the theoretical scenario where management
      FW didn't tell us what the port config is.
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cb2cda48
    • J
      nfp: improve order of interfaces in breakout mode · 2eb333c4
      Jakub Kicinski 提交于
      For historical reasons we enumerate the vNICs in order.  This means
      that if user configures breakout on a multiport card, the first
      interface of the second port will have its MAC address changed.
      
      What's worse, when moved from static information (HWInfo) to using
      management FW (NSP), more features started depending on the port ids.
      Right now in case of breakout first subport of the second port and
      second subport of the first port will have their link info swapped.
      
      Revise the ordering scheme so that first subport maintains its address.
      Side effect of this change is that we will use base lane ids in
      devlink (i.e. 40G ports will be 4 ids apart), e.g.:
      
      pci/0000:04:00.0/0: type eth netdev p6p1
      pci/0000:04:00.0/4: type eth netdev p6p2
      
      Note that behaviour of phys_port_id is not changed since there is
      a separate id number for the subport there.
      
      Fixes: ec8b1fbe ("nfp: support port splitting via devlink")
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2eb333c4
  9. 28 6月, 2017 6 次提交
  10. 25 6月, 2017 2 次提交
  11. 10 6月, 2017 3 次提交
  12. 08 6月, 2017 8 次提交
  13. 01 6月, 2017 3 次提交
  14. 26 5月, 2017 5 次提交
  15. 23 5月, 2017 3 次提交