opnsense-src/sys/dev/sfxge/common
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
..
ef10_ev.c sfxge(4): add routine to check for hardware presence 2018-11-30 07:05:49 +00:00
ef10_filter.c sfxge(4): fix a typo in unicast filter insertion comment 2018-11-30 07:06:35 +00:00
ef10_image.c sfxge(4): add signed image layout support 2018-11-29 06:41:41 +00:00
ef10_impl.h sfxge(4): fix power of 2 round up when align has smaller type 2019-07-27 09:36:27 +00:00
ef10_intr.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
ef10_mac.c sfxge(4): add accessor to whole link status 2018-11-30 07:09:46 +00:00
ef10_mcdi.c
ef10_nic.c sfxge(4): update external port number calculation 2018-11-30 07:10:32 +00:00
ef10_nvram.c sfxge(4): fix power of 2 round up when align has smaller type 2019-07-27 09:36:27 +00:00
ef10_phy.c sfxge(4): add accessor to whole link status 2018-11-30 07:09:46 +00:00
ef10_rx.c sfxge(4): unify power of 2 alignment check macro 2019-07-27 09:36:45 +00:00
ef10_signed_image_layout.h
ef10_tlv_layout.h sfxge(4): update autogenerated MCDI and TLV headers 2018-11-29 06:45:04 +00:00
ef10_tx.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
ef10_vpd.c
efsys.h sfxge(4): unify power of 2 alignment check macro 2019-07-27 09:36:45 +00:00
efx.h sfxge(4): unify power of 2 alignment check macro 2019-07-27 09:36:45 +00:00
efx_annote.h sfxge(4): check buffer size for hash flags 2018-11-30 07:07:09 +00:00
efx_bootcfg.c sfxge(4): add buffer editing functions to boot config 2018-11-30 07:04:37 +00:00
efx_check.h sfxge(4): support equal stride super-buffer Rx mode 2018-11-29 06:45:38 +00:00
efx_crc32.c
efx_ev.c sfxge(4): ensure EvQ poll stops when abort is requested 2018-11-30 07:10:54 +00:00
efx_filter.c sfxge(4): add helper API to make Geneve filter spec 2018-11-30 07:08:05 +00:00
efx_hash.c
efx_impl.h sfxge(4): add accessor to whole link status 2018-11-30 07:09:46 +00:00
efx_intr.c sfxge(4): correct annotations where NULL input is OK 2018-11-30 07:10:20 +00:00
efx_lic.c sfxge(4): fix ID retrieval in v3 licensing 2018-11-30 07:06:13 +00:00
efx_mac.c sfxge(4): generate Medford2 RxDP stats 2018-11-29 06:46:33 +00:00
efx_mcdi.c sfxge(4): use transceiver ID when reading info 2018-11-30 07:09:58 +00:00
efx_mcdi.h sfxge(4): fix power of 2 round up when align has smaller type 2019-07-27 09:36:27 +00:00
efx_mon.c sfxge(4): add API to retrieve sensor limits 2018-11-30 07:04:25 +00:00
efx_nic.c sfxge(4): report support for Tx checksum op descriptors 2018-12-10 09:35:45 +00:00
efx_nvram.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
efx_phy.c sfxge(4): add accessor to whole link status 2018-11-30 07:09:46 +00:00
efx_phy_ids.h
efx_port.c sfxge(4): fix PreFAST warnings because of unused return 2018-11-29 06:47:06 +00:00
efx_regs.h
efx_regs_ef10.h sfxge(4): add equal stride super-buffer prefix layout 2018-11-29 06:45:50 +00:00
efx_regs_mcdi.h sfxge(4): update autogenerated MCDI and TLV headers 2018-11-29 06:45:04 +00:00
efx_regs_mcdi_aoe.h sfxge(4): update MCDI headers 2018-11-29 06:43:23 +00:00
efx_regs_mcdi_strs.h sfxge(4): add generated description of sensors 2018-11-30 05:54:30 +00:00
efx_regs_pci.h
efx_rx.c sfxge(4): correct annotations where NULL input is OK 2018-11-30 07:10:20 +00:00
efx_sram.c
efx_tunnel.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
efx_tx.c sfxge(4): fix power of 2 round up when align has smaller type 2019-07-27 09:36:27 +00:00
efx_types.h sfxge(4): cope with clang warning on negative shift 2018-11-29 06:44:20 +00:00
efx_vpd.c
hunt_impl.h
hunt_nic.c sfxge(4): support improvements to bandwidth calculations 2018-11-30 07:09:11 +00:00
mcdi_mon.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
mcdi_mon.h sfxge(4): add API to retrieve sensor limits 2018-11-30 07:04:25 +00:00
medford2_impl.h
medford2_nic.c sfxge(4): support improvements to bandwidth calculations 2018-11-30 07:09:11 +00:00
medford_impl.h
medford_nic.c sfxge(4): support improvements to bandwidth calculations 2018-11-30 07:09:11 +00:00
siena_flash.h
siena_impl.h
siena_mac.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
siena_mcdi.c
siena_nic.c sfxge(4): guard Rx scale code with corresponding option 2018-11-30 07:09:34 +00:00
siena_nvram.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
siena_phy.c sfxge(4): fix out of bounds read when dereferencing sdup 2018-11-30 07:05:36 +00:00
siena_sram.c
siena_vpd.c