summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNikhil Rao <nikhil.rao@intel.com>2018-09-06 14:41:42 +0530
committerJerin Jacob <jerin.jacob@caviumnetworks.com>2018-10-01 16:47:56 +0200
commitd7b5f102c4781bd2e9a952243eb59cffe135b01c (patch)
treeed9c855346d9d01b75616bf39c7e1ac6b064010b /test
parent4ab57b042e7c87a3aaadd97fb2c59e62e9f94672 (diff)
downloaddpdk-d7b5f102c4781bd2e9a952243eb59cffe135b01c.zip
dpdk-d7b5f102c4781bd2e9a952243eb59cffe135b01c.tar.gz
dpdk-d7b5f102c4781bd2e9a952243eb59cffe135b01c.tar.xz
eventdev: fix eth Rx adapter hotplug incompatibility
Use RTE_MAX_ETHPORTS instead of rte_eth_dev_count_total() when allocating eth Rx adapter's per-eth device data structure to account for hotplugged devices. Fixes: 9c38b704d280 ("eventdev: add eth Rx adapter implementation") Cc: stable@dpdk.org Signed-off-by: Nikhil Rao <nikhil.rao@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions