[vpp-dev] accessing object pools from multiple threads
Hi , I have a basic question on how object pools are accessed by multiple threads in VPP. Do we have any locks underlying that safe gaurd the object pools ? For example: In acl_main_t, we have a pool of acl lists as below. *acl_list_t *acls; /* Pool of ACLs */* This list will be populated by vpp main_thread for add/del. Also, this list will be accessed by worker thread during packet processing. So, is this list guarded by any lock at lower layers for synchronizing the access between main thread and worker thread ? Thanks & Regards, Satish -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14049): https://lists.fd.io/g/vpp-dev/message/14049 Mute This Topic: https://lists.fd.io/mt/34285184/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] FD.io Nexus Maintenance: 2019-09-25 1700 UTC to 2100 UTC
Maintenance Reminder On 09/23/2019 04:08 PM, Vanessa Valderrama wrote: > > *What:* > > LF will performing maintenance on the Nexus server to migrate data to > two new SSD volumes in attempt to resolve the intermittent issue with > hung jobs we are experiencing > > * Migrate Nexus data to new volumes > > *When:* > 2019-09-25 1700 UTC to 2100 UTC * > ** > Impact:* We will place Jenkins in shutdown mode at 1600 UTC. Jobs will > be aborted at 1700 UTC > Jenkins and Nexus will be unavailable during this time > > You can subscribe to status updates here: > https://fdio.statuspage.io/incidents/f5tfpfdyd8l0 > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14048): https://lists.fd.io/g/vpp-dev/message/14048 Mute This Topic: https://lists.fd.io/mt/34269004/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VAT can support define a macro? #vapi
Macros are currently not supported in .api files. > define MAX_NUM (12) The "define" keyword defines API messages, not macros. The C preprocessor is one possibility to add support for macros, but not sure whether it would play well with .api syntax. You can try to add that (or a similar feature) by yourself, mainly to this [0] directory. Vratko. [0] https://github.com/FDio/vpp/tree/master/src/tools/vppapigen From: vpp-dev@lists.fd.io On Behalf Of wei_sky2...@163.com Sent: Tuesday, September 24, 2019 1:14 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] VAT can support define a macro? #vapi [Edited Message Follows] in api file I want to define a macro such as define MAX_NUM (12) define my_structure { u32 a; u8[MAX_NUM]; } "define MAX_NUM (12)" is can't be recognized,how can i do to define this? Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14047): https://lists.fd.io/g/vpp-dev/message/14047 Mute This Topic: https://lists.fd.io/mt/34274817/21656 Mute #vapi: https://lists.fd.io/mk?hashtag=vapi&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] VAT can support define a macro? #vapi
[Edited Message Follows] in api file I want to define a macro such as define MAX_NUM (12) define my_structure { u32 a; u8[MAX_NUM]; } "define MAX_NUM (12)" is can't be recognized,how can i do to define this? Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14046): https://lists.fd.io/g/vpp-dev/message/14046 Mute This Topic: https://lists.fd.io/mt/34274817/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] VAT can support define a macro? #vapi
in api file I want to define a macro such as define MAX_NUM (12) define my_structure { u32 a; u8[MAX_NUM]; } "#define MAX_NUM (12)" is can't be recognized,how can i do to define this? Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14046): https://lists.fd.io/g/vpp-dev/message/14046 Mute This Topic: https://lists.fd.io/mt/34274817/21656 Mute #vapi: https://lists.fd.io/mk?hashtag=vapi&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] #vpp #lb vpp hang and unrecoverable
Hi Hongjun, We are testing on 19.08-rc2~12-g1c586de48~b37 vpp# show version vpp v19.08-rc2~12-g1c586de48~b37 built by root on 9ce218d4b187 at Wed Aug 21 17:50:31 UTC 2019 vpp# And one more thing, there seems no way to unset lb vip (or probably a bug like `show lb vip`): vpp# show lb vip vpp# lb flush vip 192.168.1.100/32 protocol tcp port 24 lb_flush_vip ok 1 vpp# show lb vip verbose ip4-l3dsr [1] 192.168.1.100/32 new_size:1024 protocol:6 port:24 dscp:7 counters: packet from existing sessions: 4 first session packet: 5 untracked packet: 0 no server configured: 0 #as:1 192.168.1.23 1024 buckets 0 flows dpo:19 used vpp# -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14045): https://lists.fd.io/g/vpp-dev/message/14045 Mute This Topic: https://lists.fd.io/mt/34272576/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Mute #lb: https://lists.fd.io/mk?hashtag=lb&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] #vpp #lb vpp hang and unrecoverable
Hi Cipher, Which VPP version are you using? We have found similar issue before and had a patch fixed it in VPP 19.08. https://jira.fd.io/browse/VPP-1680 Thanks, Hongjun From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Cipher Chen Sent: Tuesday, September 24, 2019 11:14 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] #vpp #lb vpp hang and unrecoverable Hi, I found a easy way to get vpp hung. Just start a brand new vpp, and do vpp# lb flush vip 192.168.1.100/32 protocol tcp port 24 encap l3dsr dscp 7 the vpp hangs, and seems only `kill -9 ` works. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14044): https://lists.fd.io/g/vpp-dev/message/14044 Mute This Topic: https://lists.fd.io/mt/34272576/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Mute #lb: https://lists.fd.io/mk?hashtag=lb&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-