[vpp-dev] crypto_sw_scheduler questions

2021-03-12 Thread G. Paul Ziemba
2 head = q->head; for (i = tail; i < head; i++) { f = q->jobs[i & CRYPTO_SW_SCHEDULER_QUEUE_MASK]; [... do stuff ...] } It seems to me that these loops will not work correctly when head wraps. Thanks for your comments. -- G. Paul Ziemba FreeBSD unix:

Re: [vpp-dev] Silly programmer trick #47...

2020-09-28 Thread G. Paul Ziemba
} > return (NULL); >} >[...] >Commands coded like this work fine when typed one at a time, but they blow = >chunks when scripted... It seems possible that this incorrect pattern has propagated from vpp/src/examples/sample-plugin/sample/sample.c -- G. Paul Ziemba FreeBSD unix:

[vpp-dev] sorted list functions?

2020-09-13 Thread G. Paul Ziemba
art of VPP? Requirements are the usual add/delete/search as well as fast discovery of adjacent nodes (previous and next) after a search (skiplist path afforded that). thanks! -- G. Paul Ziemba FreeBSD unix: 12:51PM up 105 days, 20:32, 43 users, load averages: 0.32, 0.26, 0.41 -=-=-=-=-=-=-=-=-=-

Re: [vpp-dev] buffer indirection, cloning, and copying

2019-04-04 Thread G. Paul Ziemba
> > I dont have time to read that draft, but it looks to me that during > decryption you can simply spray plaintext into multiple buffers, no? The relevant aspect of the spec is that multiple payload packets may be included in a single tunnel packet. These payload packets must be de-aggregated

Re: [vpp-dev] buffer indirection, cloning, and copying

2019-04-03 Thread G. Paul Ziemba
> > We do that by cloning, you can have multiple head buffers with small > amount > if data to accommodate l2/l3 headers and then such buffers have > b->next_buffer > pointing to shared tail buffer(s). Tail buffer(s) just need to have > ref_count set properly > to avoid that such buffer is freed p

[vpp-dev] buffer indirection, cloning, and copying

2019-03-26 Thread G. Paul Ziemba
ing in the packet output code to handle this format. Is it correct that the VPP interface output functions eventually call dpdk interface transmit functions? I'm guessing that would be the place to do it. Am I missing something? Is there a better way to approach this problem? thanks! -- G. Paul

Re: [vpp-dev] N-queue node input

2019-03-22 Thread G. Paul Ziemba
Ah, thank you. That seems much more logical. (Still familiarizing myself with tools in this toolbox. Haven't found the 10mm socket yet.) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12620): https://lists.fd.io/g/vpp-dev/message/12620 Mute This T

[vpp-dev] N-queue node input

2019-03-21 Thread G. Paul Ziemba
.function and other fields but unique .name fields (e.g., "name01", "name02", ..., "nameNN"): I think this will set up distinct input frame queues for each such node. Is there a better way to accomplish this N-queue pattern? thanks! -- G. Paul Ziemba FreeBSD unix: 11: