Actions
Bug #5009
closeddpdk: fails to compile on ubuntu 22.04
Affected Versions:
Effort:
Difficulty:
Label:
Description
Ubuntu version is still in development, but in the docker image with dpdk-dev
used to install dpdk I get:
CC runmode-dpdk.o runmode-dpdk.c: In function 'DeviceInitPortConf': runmode-dpdk.c:857:22: error: 'struct rte_eth_rxmode' has no member named 'max_rx_pkt_len'; did you mean 'max_lro_pkt_size'? 857 | .max_rx_pkt_len = iconf->mtu, | ^~~~~~~~~~~~~~ | max_lro_pkt_size runmode-dpdk.c:916:39: error: 'DEV_RX_OFFLOAD_JUMBO_FRAME' undeclared (first use in this function); did you mean 'DEV_RX_OFFLOAD_TIMESTAMP'? 916 | port_conf->rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | DEV_RX_OFFLOAD_TIMESTAMP runmode-dpdk.c:916:39: note: each undeclared identifier is reported only once for each function it appears in runmode-dpdk.c: In function 'DeviceConfigure': runmode-dpdk.c:1133:42: error: 'DEV_RX_OFFLOAD_JUMBO_FRAME' undeclared (first use in this function); did you mean 'DEV_RX_OFFLOAD_TIMESTAMP'? 1133 | !(dev_info.rx_offload_capa & DEV_RX_OFFLOAD_JUMBO_FRAME)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | DEV_RX_OFFLOAD_TIMESTAMP make[2]: *** [Makefile:3418: runmode-dpdk.o] Error 1 make[2]: Leaving directory '/builds/inliniac/suricata-ci/suri
Actions