Re: [vpp-dev] Prioritized packet sending

2022-01-06 Thread Prashant Upadhyaya
> > > -Original Message- > > From: Prashant Upadhyaya > > Sent: jeudi 6 janvier 2022 12:33 > > To: Benoit Ganne (bganne) > > Cc: vpp-dev > > Subject: Re: [vpp-dev] Prioritized packet sending > > > > Thanks Benoit, let me be more specific

Re: [vpp-dev] Prioritized packet sending

2022-01-06 Thread Benoit Ganne (bganne) via lists.fd.io
bganne) > Cc: vpp-dev > Subject: Re: [vpp-dev] Prioritized packet sending > > Thanks Benoit, let me be more specific than last time -- > > Suppose my node is on the ip4-unicast feature arc and thus handling > the packets from ip4-input, say I get a frame here of 25 packets.

Re: [vpp-dev] Prioritized packet sending

2022-01-06 Thread Prashant Upadhyaya
Thanks Benoit, let me be more specific than last time -- Suppose my node is on the ip4-unicast feature arc and thus handling the packets from ip4-input, say I get a frame here of 25 packets. Now my node runs through these 25 packets, the first packet is special and needs to go out on priority so I

Re: [vpp-dev] Prioritized packet sending

2022-01-06 Thread Benoit Ganne (bganne) via lists.fd.io
Depends upon what you mean by "right now". The normal way to send a packet out in VPP is to just put the buffers to the interface-output node with vlib_buffer_t.sw_if_index[VLIB_TX] set to the correct interface. There will be some latency, as the interface-output node and then the drivers node m