HomeFreeBSD

Update ena-com HAL to v1.1.4.3 and update driver accordingly

Description

Update ena-com HAL to v1.1.4.3 and update driver accordingly

The newest ena-com HAL supports LLQv2 and introduces
API changes. In order not to break the driver compilation
it was updated/fixed in a following way:

  • Change version of the driver to 0.8.0
  • Provide reset cause when triggering reset of the device
  • Reset device after attach fails
  • In the reset task free management irq after calling ena_down. Admin queue can still be used before ena_down is called, or when it is being handled
  • Do not reset device if ena_reset_task fails
  • Move call of the ena_com_dev_reset to the ena_down() routine - it should be called only if interface was up
  • Use different function for checking empty space on the sq ring (ena-com API change)
  • Fix typo on ENA_TX_CLEANUP_THRESHOLD
  • Change checking for EPERM with EOPNOTSUPP - change in the ena-com API
  • Minor style fixes

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Amazon.com, Inc.

Semihalf

Sponsored by: Amazon.com, Inc.
Differential Revision: https://reviews.freebsd.org/D12143

Details

Provenance
mwAuthored on Oct 31 2017, 12:41 PM
Parents
rG6371f456375e: Update ena-com HAL to newest version
rGbe04c94e1edd: [i2c/clock] add support for EPSON RTC-8583
Branches
Unknown
Tags
Unknown

Event Timeline