1. 02 7月, 2020 1 次提交
    • A
      i40e: Add support for a new feature Total Port Shutdown · d5ec9e2c
      Arkadiusz Kubalewski 提交于
      After OS requests to down a link on a physical network port, the
      traffic is no longer being processed but the physical link with
      a link partner is still established.
      
      Currently there is a feature (Link down on close) which allows
      to physically bring the link down (after OS request).
      
      With this patch new feature with similar capability is introduced:
      TOTAL_PORT_SHUTDOWN
      Allows to physically disable the link on the NIC's port.
      If enabled, (after link down request from the OS)
      no link, traffic or led activity is possible on that port.
      
      If I40E_FLAG_TOTAL_PORT_SHUTDOWN is enabled, the
      I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED must be explicitly forced to
      true and cannot be disabled at that time.
      The functionalities are exclusive in terms of configuration, but
      they also have similar behavior (allowing to disable physical link
      of the port), with following differences:
      - LINK_DOWN_ON_CLOSE_ENABLED is configurable at host OS run-time
        and is supported by whole family of 7xx Intel Ethernet Controllers
      - TOTAL_PORT_SHUTDOWN may be enabled only before OS loads (in BIOS)
        only if motherboard's BIOS and NIC's FW has support of it
      - when LINK_DOWN_ON_CLOSE_ENABLED is used, the link is being brought
        down by sending phy_type=0 to NIC's FW
      - when TOTAL_PORT_SHUTDOWN is used, phy_type is not altered, instead
        the link is being brought down by clearing bit
        (I40E_AQ_PHY_ENABLE_LINK) in abilities field of
        i40e_aq_set_phy_config structure
      
      Introduced changes:
      - new private flag I40E_FLAG_TOTAL_PORT_SHUTDOWN for handling the
        feature
      - probe of NVM if the feature was enabled at driver's port
        initialization
      - special handling on link-down procedure to let FW physically
        shutdown the port if the feature was enabled
      Signed-off-by: NArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
      Signed-off-by: NAleksandr Loktionov <aleksandr.loktionov@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NTony Nguyen <anthony.l.nguyen@intel.com>
      d5ec9e2c
  2. 26 6月, 2020 1 次提交
  3. 09 11月, 2019 1 次提交
  4. 26 10月, 2019 1 次提交
  5. 12 9月, 2019 2 次提交
  6. 23 8月, 2019 2 次提交
  7. 05 5月, 2019 1 次提交
  8. 04 5月, 2019 1 次提交
  9. 17 4月, 2019 1 次提交
  10. 15 11月, 2018 1 次提交
  11. 08 8月, 2018 1 次提交
  12. 28 4月, 2018 1 次提交
  13. 24 3月, 2018 1 次提交
  14. 27 2月, 2018 1 次提交
  15. 27 1月, 2018 1 次提交
  16. 24 1月, 2018 1 次提交
  17. 11 1月, 2018 1 次提交
  18. 01 11月, 2017 3 次提交
  19. 18 10月, 2017 1 次提交
  20. 06 10月, 2017 2 次提交
  21. 03 10月, 2017 3 次提交
  22. 30 9月, 2017 1 次提交
  23. 21 6月, 2017 1 次提交
  24. 20 4月, 2017 1 次提交
  25. 15 3月, 2017 1 次提交
  26. 19 2月, 2017 1 次提交
    • J
      i40e: enable mc magic pkt wakeup during power down · 1d68005d
      Joshua Hay 提交于
      This patch adds a call to the mac_address_write admin q function during
      power down to update the PRTPM_SAH/SAL registers with the MC_MAG_EN bit
      thus enabling multicast magic packet wakeup.
      
      A FW workaround is needed to write the multicast magic wake up enable
      bit in the PRTPM_SAH register. The FW expects the mac address write
      admin q cmd to be called first with one of the WRITE_TYPE_LAA flags
      and then with the multicast relevant flags.
      
      *Note: This solution only works for X722 devices currently. A PFR will
      clear the previously mentioned bit by default, but X722 has support for a
      WOL_PRESERVE_ON_PFR flag which prevents the bit from being cleared. Once
      other devices support this flag, this solution should work as well.
      
      Change-ID: I51bd5b8535bd9051c2676e27c999c1657f786827
      Signed-off-by: NJoshua Hay <joshua.a.hay@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      1d68005d
  27. 07 12月, 2016 2 次提交
  28. 20 8月, 2016 2 次提交
  29. 14 5月, 2016 1 次提交
  30. 02 5月, 2016 2 次提交