1. 26 6月, 2019 1 次提交
  2. 15 6月, 2019 1 次提交
  3. 10 6月, 2019 5 次提交
  4. 29 5月, 2019 4 次提交
  5. 04 5月, 2019 1 次提交
    • J
      net: hns3: add support for multiple media type · 88d10bd6
      Jian Shen 提交于
      Previously, we can only identify copper and fiber type, the
      supported link modes of port information are always showing
      SR type. This patch adds support for multiple media types,
      include SR, LR CR, KR. Driver needs to query the media type
      from firmware periodicly, and updates the port information.
      
      The new port information looks like this:
      Settings for eth0:
              Supported ports: [ FIBRE ]
              Supported link modes:   25000baseCR/Full
                                      25000baseSR/Full
                                      1000baseX/Full
                                      10000baseCR/Full
                                      10000baseSR/Full
                                      10000baseLR/Full
              Supported pause frame use: Symmetric
              Supports auto-negotiation: No
              Supported FEC modes: None BaseR
              Advertised link modes:  Not reported
              Advertised pause frame use: No
              Advertised auto-negotiation: No
              Advertised FEC modes: Not reported
              Speed: 10000Mb/s
              Duplex: Full
              Port: FIBRE
              PHYAD: 0
              Transceiver: internal
              Auto-negotiation: off
              Current message level: 0x00000036 (54)
                                     probe link ifdown ifup
              Link detected: yes
      
      In order to be compatible with old firmware which only support
      sfp speed, we remained using the same query command, and kept
      the former logic.
      Signed-off-by: NJian Shen <shenjian15@huawei.com>
      Signed-off-by: NPeng Li <lipeng321@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      88d10bd6
  6. 27 4月, 2019 2 次提交
  7. 20 4月, 2019 3 次提交
  8. 15 4月, 2019 1 次提交
  9. 09 4月, 2019 3 次提交
  10. 05 4月, 2019 1 次提交
  11. 20 3月, 2019 1 次提交
  12. 25 2月, 2019 2 次提交
  13. 03 2月, 2019 2 次提交
  14. 31 1月, 2019 3 次提交
  15. 27 1月, 2019 1 次提交
  16. 24 1月, 2019 2 次提交
  17. 19 1月, 2019 1 次提交
  18. 20 12月, 2018 3 次提交
  19. 19 12月, 2018 2 次提交
  20. 16 12月, 2018 1 次提交