numam-dpdk/drivers/mempool
Stephen Hemminger da5fa4d4d6 mempool/octeontx2: fix build with icc
The Intel compiler is pickier about casts and generates:
otx2_mempool_ops.c(344):
     error #191: type qualifier is meaningless on cast type
  	int64_t * const addr = (int64_t * const)
  	                        ^
This is because of the nature of const.
In this example, the expression is being cast into a pointer
that can not be modified. This is meaningless because the
expression is already a lvalue.

See https://en.wikipedia.org/wiki/Const_(computer_programming)

Fixes: d7a0da3c00 ("mempool/octeontx2: add fast path mempool ops")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-06-27 08:55:02 +01:00
..
bucket mempool/bucket: do not allow one lcore to grab all buckets 2018-04-26 23:34:07 +02:00
dpaa build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
dpaa2 build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
octeontx use registered name for OCTEON TX references 2018-10-26 14:16:05 +02:00
octeontx2 mempool/octeontx2: fix build with icc 2019-06-27 08:55:02 +01:00
ring build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
stack mempool/stack: add lock-free stack mempool handler 2019-04-04 22:06:16 +02:00
Makefile mempool/octeontx2: add build infra and device probe 2019-06-25 23:35:57 +02:00
meson.build mempool/octeontx2: add build infra and device probe 2019-06-25 23:35:57 +02:00