[P4] T4P4S Debug
Leskó Dániel
ldani at elte.hu
Wed Nov 21 13:48:33 CET 2018
Sziasztok!
Én kipróbáltam az javasolt ideiglenes bugfixet, de ugyan úgy segfault
jön, pedig a teljes build könyvtárat töröltem.
Dani
2018.11.21. 12:41 keltezéssel, Péter Vörös írta:
> Sziasztok!
>
> Kidebuggoltuk mi az elsődleges hiba oka:
> src/hardware_dep/dpdk/dpdk_nicon.c 51.sor
> for (unsigned portid = 0; portid < RTE_MAX_ETHPORTS; portid++) {
> Az RTE_MAX_ETHPORTS az 32, emiatt döglik el a csomagtovábításunk,
> ezért hal el a 2. porton a send burst.
>
> Ideiglenes bugfix:
> for (unsigned portid = 0; portid < 2; portid++) {
>
> Levi + infó a debuggoláshoz:
>
> Így tudod elindítani gdb-vel a programokat:
> Controller:
> ./src/hardware_dep/shared/ctrl_plane/dpdk_portfwd_controller
> examples/portfwd_table.txt &
> Switch:
> sudo gdb --args
> /home/jenkins/t4p4s16/t4p4s/build/portfwd at std/build/app/portfwd -c 0x3
> -n 1 -w 0000:0b:00.0 -w 0000:0b:00.1 -- -p 0x3 --config
> "\"(0,0,0),(1,0,1)\""
>
> Üdv,
> Peti
>
> _______________________________________________
> P4 mailing list
> P4 at plc.inf.elte.hu
> https://plc.inf.elte.hu/mailman/listinfo/p4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://plc.inf.elte.hu/pipermail/p4/attachments/20181121/34b19d0d/attachment.html>
More information about the P4
mailing list