numam-dpdk/drivers/net/mlx4
Yongseok Koh 96525b9e19 net/mlx4: fix alignment of memory region
The memory region is [start, end), so if the memseg of 'end' isn't
allocated yet, the returned memseg will have zero entries and this will
make 'end' zero (nil).

Fixes: c2fe582322 ("net/mlx4: use virt2memseg instead of iteration")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2018-04-27 15:54:56 +01:00
..
Makefile net/mlx: fix warnings for unused compiler arguments 2018-04-14 00:40:21 +02:00
mlx4_ethdev.c drivers/net: update link status 2018-04-27 15:54:56 +01:00
mlx4_flow.c net/mlx4: fix ignored RSS hash types 2018-04-27 15:54:56 +01:00
mlx4_flow.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_glue.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_glue.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_intr.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_mr.c net/mlx4: fix alignment of memory region 2018-04-27 15:54:56 +01:00
mlx4_prm.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_rxq.c net/mlx4: support CRC strip toggling 2018-04-14 00:43:30 +02:00
mlx4_rxtx.c net/mlx4: support CRC strip toggling 2018-04-14 00:43:30 +02:00
mlx4_rxtx.h net/mlx4: support CRC strip toggling 2018-04-14 00:43:30 +02:00
mlx4_txq.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4.c net/mlx4: support CRC strip toggling 2018-04-14 00:43:30 +02:00
mlx4.h ethdev: return diagnostic when setting MAC address 2018-04-14 00:43:30 +02:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00