Skip to content

dpdk+netwrap+nginx can be ok? #225

@dongbin1024

Description

@dongbin1024

i want to run the latest nginx with netwrap which is implemented with odp-dpdk, i tried
1、download dpdk stable 17.11;
2、download odp-dpdk-1.19.0.2_DPDK_17.11;
3、download ofp-3.0.0;
before compile with scripts/devbuild_ofp_odp_dpdk.sh, i modify the ofp ./configure,below:
./configure --with-odp=$REPOS/odp-dpdk/install --enable-cunit --prefix=$REPOS/install/ --with-config-flv=netwrap-webserver --enable-sp=no
and something is wrong:
1、libofp.so.0.0.0 not found,i try to change to libofp.so.3.0.0 in ofp_netwrap.sh;
2、after that:

odp_crypto.c:556:odp_crypto_capability():No crypto devices available
E -1223208614 0:1643843968 ofp_ipsec.c:180] odp_ipsec_capability failed
E -1223203080 0:1643843968 ofp_ipsec.c:181] Setting maximum number of IPsec SAs to zero
I -1223178086 0:1643843968 ofp_init.c:434] Slow path threads on core 0
odp_packet_dpdk.c:383:setup_pkt_dpdk():Interface name should only contain numbers!: eth0
../linux-generic/odp_packet_io.c:233:setup_pktio_entry():Unable to init any I/O type.
../linux-generic/odp_packet_io.c:295:odp_pktio_open():interface: eth0, driver: bad handle
E -1223036270 0:1643843968 ofp_ifnet.c:23] odp_pktio_open failed
Error: OFP global init failed.
scripts/ofp_netwrap.sh: line 8:   348 Segmentation fault      LD_PRELOAD=libofp_netwrap_crt.so.0.0.0:libofp.so.3.0.0:libofp_netwrap_proc.so.0.0.0 $@

is something i did wrong?thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions