Hi Matthew, Yes I meant the same. Automatically creating a bridge domain in VPP and adding/removing member interfaces based on netlink messages.
Thank You Pragya Nand On Wed, Aug 24, 2022 at 12:25 AM Matthew Smith via lists.fd.io <mgsmith= netgate....@lists.fd.io> wrote: > > On Tue, Aug 23, 2022 at 7:40 AM Pragya Nand Bhagat < > pragya.nand.bhaga...@gmail.com> wrote: > >> Hi Matthew, >> >> Thanks for looking into this issue. >> After applying the patch the crash is not seen. >> >> However as mentioned earlier, we have faced this issue when configuring >> the bridge domain and adding a member port to it. >> >> 1. create a bridge [ brctl addbr 100] >> 2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >> >> *Is there any plan to support this in VPP Linux cp* >> >> > Hi Pragya, > > What do you mean by "support this"? Are you talking about automatically > creating a bridge domain in VPP and adding/removing member interfaces based > on netlink messages? Or something else? > > -Matt > > > >> On Sat, Aug 20, 2022 at 2:13 AM Matthew Smith via lists.fd.io <mgsmith= >> netgate....@lists.fd.io> wrote: >> >>> >>> Hi Pragya, >>> >>> This patch should fix it - https://gerrit.fd.io/r/c/vpp/+/36961. Can >>> you apply it to your build and confirm whether it resolves the issue? >>> >>> Thanks, >>> -Matt >>> >>> >>> On Wed, Aug 17, 2022 at 6:55 AM Pragya Nand Bhagat < >>> pragya.nand.bhaga...@gmail.com> wrote: >>> >>>> Hi All, >>>> >>>> I'm seeing a crash in VPP when we try to add a port to a bridge . >>>> VPP is running with the lcp plugin. >>>> >>>> >>>> lcp default netns '<unset>' >>>> lcp lcp-auto-subint off >>>> lcp lcp-sync on >>>> lcp del-static-on-link-down off >>>> lcp del-dynamic-on-link-down off >>>> >>>> itf-pair: [0] port0/0 tap1 Ethernet0 96 type tap >>>> Following are the steps to recreate : >>>> >>>> >>>> >>>> 1. create a bridge [ brctl addbr 100] >>>> 2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >>>> 3. VPP crashes >>>> >>>> We got the following stack trace . >>>> >>>> >>>> Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. >>>> 0x00007f1239448c30 in nl_addr_get_family () from >>>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>>> (gdb) bt >>>> #0 0x00007f1239448c30 in nl_addr_get_family () from >>>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>>> #1 0x00007f12393b9025 in lcp_router_mk_addr (rna=0x0, >>>> ia=0x7f123703ade0) at /vpp/src/plugins/linux-cp/lcp_router.c:589 >>>> #2 lcp_router_neigh_add (rn=0x674b80) at >>>> /vpp/src/plugins/linux-cp/lcp_router.c:763 >>>> #3 0x00007f12393c2bcd in nl_neigh_add (rn=0x674b80, arg=<optimized >>>> out>) at /vpp/src/plugins/linux-cp/lcp_nl.c:232 >>>> #4 nl_route_dispatch (obj=0x674b80, arg=<optimized out>) at >>>> /vpp/src/plugins/linux-cp/lcp_nl.c:311 >>>> #5 0x00007f123944e8ee in ?? () from >>>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>>> #6 0x00007f1239404bb4 in ?? () from >>>> /lib/x86_64-linux-gnu/libnl-route-3.so.200 >>>> #7 0x00007f123944b5c3 in nl_cache_parse () from >>>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>>> #8 0x00007f12394502cb in nl_msg_parse () from >>>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>>> #9 0x00007f12393c2033 in nl_route_process_msgs () at >>>> /vpp/src/plugins/linux-cp/lcp_nl.c:344 >>>> #10 nl_route_process (vm=0x7f123ac6d700, node=<optimized out>, >>>> frame=<optimized out>) at /vpp/src/plugins/linux-cp/lcp_nl.c:557 >>>> #11 0x00007f127b1dbbe7 in vlib_process_bootstrap (_a=<optimized out>) >>>> at /vpp/src/vlib/main.c:1222 >>>> #12 0x00007f127b0e4258 in clib_calljmp () at >>>> /vpp/src/vppinfra/longjmp.S:123 >>>> #13 0x00007f1239245d60 in ?? () >>>> #14 0x00007f127b1d38b0 in vlib_process_startup (vm=0x7f123ac6d700, >>>> p=0x7f123c12bd80, f=0x0) at /vpp/src/vlib/main.c:1247 >>>> #15 dispatch_process (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0, >>>> last_time_stamp=<optimized out>) at /vpp/src/vlib/main.c:1303 >>>> #16 0x0000000000000000 in ?? () >>>> >>>> >>>> Looks like interface netlink event is not handled for scenarios when an >>>> interface is added to bridge. >>>> Please revert if any other information is required. >>>> >>>> >>>> >>>> Thank You >>>> >>>> Pragya Nand >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21819): https://lists.fd.io/g/vpp-dev/message/21819 Mute This Topic: https://lists.fd.io/mt/93078810/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-