numam-dpdk/drivers/net/sfc
Andrew Rybchenko 441717b92c net/sfc: 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.

Fixes: e1b9445985 ("net/sfc: build libefx")
Cc: stable@dpdk.org

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-07-24 21:01:11 +02:00
..
base net/sfc: fix power of 2 round up when align has smaller type 2019-07-24 21:01:11 +02:00
efsys.h net/sfc: fix power of 2 round up when align has smaller type 2019-07-24 21:01:11 +02:00
Makefile net/sfc/base: support proxy auth operations for SR-IOV 2019-06-20 23:42:04 +02:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
rte_pmd_sfc_version.map net/sfc: rename version map file 2018-02-05 13:14:36 +01:00
sfc_debug.h net/sfc: start to factor out multi-process shared data 2019-02-07 16:06:30 +01:00
sfc_dp_rx.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_dp_tx.h net/sfc: advertise offload capabilities by Tx datapaths 2019-06-13 23:54:29 +09:00
sfc_dp.c net/sfc: support driver-wide dynamic logging 2018-03-30 14:08:44 +02:00
sfc_dp.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ef10_essb_rx.c net/sfc: advertise offload capabilities by Rx datapaths 2019-06-13 23:54:29 +09:00
sfc_ef10_rx_ev.h net/sfc: handle unknown L3 packet class in EF10 event parser 2018-07-23 23:55:26 +02:00
sfc_ef10_rx.c net/sfc: support Rx interrupts for ef10 datapath 2019-06-14 00:01:06 +09:00
sfc_ef10_tx.c net/sfc: advertise offload capabilities by Tx datapaths 2019-06-13 23:54:29 +09:00
sfc_ef10.h net/sfc: support Rx interrupts for ef10 datapath 2019-06-14 00:01:06 +09:00
sfc_ethdev.c net/sfc: fix power of 2 round up when align has smaller type 2019-07-24 21:01:11 +02:00
sfc_ev.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_ev.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_filter.c net/sfc: fix filter exceptions logic 2018-07-23 23:55:26 +02:00
sfc_filter.h net/sfc: fix filter exceptions logic 2018-07-23 23:55:26 +02:00
sfc_flow.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
sfc_flow.h net/sfc: remove conditional compilation for RSS 2018-04-27 18:00:55 +01:00
sfc_intr.c drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
sfc_kvargs.c net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_kvargs.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_log.h net/sfc: make main logging macro reusable in secondary 2019-02-07 16:06:30 +01:00
sfc_mcdi.c net/sfc: start to factor out multi-process shared data 2019-02-07 16:06:30 +01:00
sfc_port.c net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
sfc_rx.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_rx.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_tso.c net: add rte prefix to TCP structure 2019-05-24 13:34:46 +02:00
sfc_tso.h net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
sfc_tweak.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_tx.c net/sfc: advertise offload capabilities by Tx datapaths 2019-06-13 23:54:29 +09:00
sfc_tx.h net/sfc: remove TxQ control from shared TxQ info 2019-02-07 16:06:30 +01:00
sfc.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00