]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update ena-com for the ENAv2 version
authorMarcin Wojtas <mw@FreeBSD.org>
Thu, 30 May 2019 12:27:55 +0000 (12:27 +0000)
committerMarcin Wojtas <mw@FreeBSD.org>
Thu, 30 May 2019 12:27:55 +0000 (12:27 +0000)
commitb6ee6cf7ab6368a44c82ae4e5ec591421b7a12df
tree26e56a25682de7c43c358e2b9c8a7e592a951c5b
parente8887c3139a74b570b032a003db60e9a34eb976c
Update ena-com for the ENAv2 version

The new ena-com is required for the ENAv2 release of the driver.

Genmask macro was fixed in the platform file.

The GENMASK macro is intended to work on 32-bit values. Before this
patch the, calling GENMASK(31, 0) would cause 32-bit value to be
shifted by 32. This could lead to unexpected behavior, as shifting by
the number greater or equal to word length is undefined operation.

Submitted by:  Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Amazon, Inc.
ena_com.c
ena_com.h
ena_defs/ena_admin_defs.h
ena_defs/ena_common_defs.h
ena_defs/ena_eth_io_defs.h
ena_defs/ena_gen_info.h
ena_defs/ena_regs_defs.h
ena_eth_com.c
ena_eth_com.h
ena_plat.h