]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/unbound/libunbound/python/examples/reverse-lookup.py
Update ena-com HAL to v1.1.4.3 and update driver accordingly
authorMarcin Wojtas <mw@FreeBSD.org>
Tue, 31 Oct 2017 12:41:07 +0000 (12:41 +0000)
committerMarcin Wojtas <mw@FreeBSD.org>
Tue, 31 Oct 2017 12:41:07 +0000 (12:41 +0000)
commita195fab02b942b305d34dd3e1ff9288ebcfbf155
treea9199c95ff2ff2bb2dcae7b6040cceddf1286109
parentbe04c94e1edd975a681a3dbccc4c3a96835b412b
parent6371f456375e6a1dcaf0b4046e2ad661378f9520
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
14 files changed:
sys/contrib/ena-com/ena_com.c
sys/contrib/ena-com/ena_com.h
sys/contrib/ena-com/ena_defs/ena_admin_defs.h
sys/contrib/ena-com/ena_defs/ena_common_defs.h
sys/contrib/ena-com/ena_defs/ena_eth_io_defs.h
sys/contrib/ena-com/ena_defs/ena_gen_info.h
sys/contrib/ena-com/ena_defs/ena_includes.h
sys/contrib/ena-com/ena_defs/ena_regs_defs.h
sys/contrib/ena-com/ena_eth_com.c
sys/contrib/ena-com/ena_eth_com.h
sys/contrib/ena-com/ena_plat.h
sys/dev/ena/ena.c
sys/dev/ena/ena.h
sys/dev/ena/ena_sysctl.c