diff options
author | 2025-01-09 16:39:22 +0100 | |
---|---|---|
committer | 2025-01-21 12:31:13 +0000 | |
commit | 82f9167e4847a66bbe4334afc1cc115efef81973 (patch) | |
tree | 1de79bbb1bef8edefb1fdb38c14a020516f74b14 /src/plugins/dpdk/device/common.c | |
parent | a64a9f3da4cb3208fe0497e36521aa48b40bcff3 (diff) |
dpdk: bump to DPDK 24.11.1
Bump DPDK version to 24.11.1.
Reason behind going for 24.11.1 is that 24.11 was affected by
CVE-2024-11614 which was fixed in the point release.
Type: feature
Change-Id: Ic49a35fe7ac782679df39145e3adfd06f047b031
Signed-off-by: Vladimir Smirnov <civil.over@gmail.com>
Diffstat (limited to 'src/plugins/dpdk/device/common.c')
-rw-r--r-- | src/plugins/dpdk/device/common.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/common.c b/src/plugins/dpdk/device/common.c index 7a49c5aaef2..d6eed5441b4 100644 --- a/src/plugins/dpdk/device/common.c +++ b/src/plugins/dpdk/device/common.c @@ -80,7 +80,9 @@ dpdk_device_setup (dpdk_device_t * xd) dpdk_device_stop (xd); } - rte_eth_dev_info_get (xd->port_id, &dev_info); + rv = rte_eth_dev_info_get (xd->port_id, &dev_info); + if (rv) + dpdk_device_error (xd, "rte_eth_dev_info_get", rv); dpdk_log_debug ("[%u] configuring device %U", xd->port_id, format_dpdk_rte_device, dev_info.device); @@ -443,6 +445,7 @@ dpdk_port_state_callback_inline (dpdk_portid_t port_id, enum rte_eth_event_type type, void *param) { struct rte_eth_link link; + CLIB_UNUSED (int rv); RTE_SET_USED (param); if (type != RTE_ETH_EVENT_INTR_LSC) @@ -451,7 +454,8 @@ dpdk_port_state_callback_inline (dpdk_portid_t port_id, return -1; } - rte_eth_link_get_nowait (port_id, &link); + rv = rte_eth_link_get_nowait (port_id, &link); + ASSERT (rv == 0); u8 link_up = link.link_status; if (link_up) dpdk_log_info ("Port %d Link Up - speed %u Mbps - %s", port_id, |