freebsd-skq/sys/dev/sfxge
Andrew Rybchenko ec30f0bec6 sfxge(4): fix power of 2 round up when align has smaller type
Substitute driver-defined P2ROUNDUP() h with EFX_P2ROUNDUP()
defined in libefx.

Cast value and alignment to one specified type to guarantee result
correctness.

Reported by:	Andrea Valsania <andrea.valsania at answervad.it>
Reviewed by:    philip
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision:  https://reviews.freebsd.org/D21074
2019-07-27 09:36:27 +00:00
..
common sfxge(4): fix power of 2 round up when align has smaller type 2019-07-27 09:36:27 +00:00
sfxge_dma.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
sfxge_ev.c sfxge(4): use n Tx queues instead of n + 2 on EF10 HW 2018-12-10 09:36:05 +00:00
sfxge_intr.c
sfxge_ioc.h
sfxge_mcdi.c
sfxge_nvram.c sfxge(4): extend NVRAM RW finish to return verify result 2018-11-23 10:20:32 +00:00
sfxge_port.c sfxge(4): fix power of 2 round up when align has smaller type 2019-07-27 09:36:27 +00:00
sfxge_rx.c sfxge(4): fix power of 2 round up when align has smaller type 2019-07-27 09:36:27 +00:00
sfxge_rx.h
sfxge_tx.c sfxge(4): use n Tx queues instead of n + 2 on EF10 HW 2018-12-10 09:36:05 +00:00
sfxge_tx.h sfxge(4): use n Tx queues instead of n + 2 on EF10 HW 2018-12-10 09:36:05 +00:00
sfxge_version.h
sfxge.c sfxge(4): use n Tx queues instead of n + 2 on EF10 HW 2018-12-10 09:36:05 +00:00
sfxge.h sfxge(4): use n Tx queues instead of n + 2 on EF10 HW 2018-12-10 09:36:05 +00:00