freebsd-dev/sys/dev/sfxge
Andrew Rybchenko 7daf1fed80 sfxge(4): unify power of 2 alignment check macro
Substitute driver-defined IS_P2ALIGNED() with EFX_IS_P2ALIGNED()
defined in libefx.

Add type argument and cast value and alignment to one specified type.

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/D21076
2019-07-27 09:36:45 +00:00
..
common sfxge(4): unify power of 2 alignment check macro 2019-07-27 09:36:45 +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