]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Adjust ENA driver to the new ena-com
authorMarcin Wojtas <mw@FreeBSD.org>
Thu, 30 May 2019 13:01:46 +0000 (13:01 +0000)
committerMarcin Wojtas <mw@FreeBSD.org>
Thu, 30 May 2019 13:01:46 +0000 (13:01 +0000)
commit67ec48bb3aba6681fdabff71007ea141fe7a9805
tree19fd2a2b6399973710db636a8b98a1f695a26184
parent12d62cc2d7e1e6ea7083f7dc2ee393e570182f69
parentb6ee6cf7ab6368a44c82ae4e5ec591421b7a12df
Adjust ENA driver to the new ena-com

Recent HAL change preparing to support ENAv2 required minor driver
modifications.

The ena_com_sq_empty_space() is not available in this ena-com, so it had
to be replaced with ena_com_free_desc().

Moreover, the ena_com_admin_init() is no longer using 3rd argument
indicating if the spin lock should be initialized, so it was removed.

Submitted by:  Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Amazon, Inc.
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_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