Hi Burt and Renato, This call to vlib_buffer_chain_validate is only used on VPP 17.01 and previous releases.
It is not used on VPP 17.04 and afterwards. You can remove it, and we have verified it works without this call on VPP 17.04 and afterwards. I will submit a patch to fix it. Thanks, Hongjun -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Renato Westphal Sent: Sunday, July 2, 2017 2:20 AM To: Burt Silverman <[email protected]> Cc: Shaw, Jeffrey B <[email protected]>; [email protected]; Damjan Marion (damarion) <[email protected]>; vpp-dev <[email protected]> Subject: Re: [vpp-dev] vppsb tap_inject_node.c and vpp's buffer_funcs.h containing out of date function On Sat, Jul 1, 2017 at 1:46 PM, Burt Silverman <[email protected]> wrote: > Hello Jeff and Damjan and Renato, > > I ran into an issue mentioned by Renato in April on the vppsb list: > >>The tap interfaces created by the "vppctl enable tap-inject" command >>would simply disappear when I tried to bring them up >with "ip link >>set dev vppX up". > > I quickly spotted the issue as a symbol lookup error appearing in my > console > -- a call to vlib_buffer_chain_validate is made in tap_inject_node.c. > That function prototype remained in buffer_funcs.h after the commit > 6765549 in vpp that removed the definition from buffer.c. > > Jeff, can I assume that the function call can simply be eliminated? If > I read Damjan's comments correctly from the change, DPDK takes care of > whatever needs to be taken care of. That's interesting. I'll try what you suggested later and see if it fixes the problem for me. By the way, I wrote a wiki page explaining how to integrate VPP with the FRR routing stack. Here's the link in case anyone is interested: https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes:-VPP Cheers, -- Renato Westphal _______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev _______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
