Re: AF_PACKET V4/AF_XDP userspace API questions

2018-01-31 Thread Björn Töpel
2018-01-30 8:58 GMT+01:00 Ilias Apalodimas : > We've noticed 3 different hardware approaches in receiving payloads > > 1. Host driver needs to pre-load descriptor ring with addresses of RAM > buffers to write arriving data. > The "standard" functionality for most NICs is (in little detail) fetch th

Re: AF_PACKET V4/AF_XDP userspace API questions

2018-01-30 Thread Ilias Apalodimas
Really sorry for the noise, mail is in lkml properly now. I failed at marking it as plain text. You can disregard this one. Regards Ilias On 30 January 2018 at 10:02, Ilias Apalodimas wrote: > We've noticed 3 different hardware approaches in receiving payloads > > 1. Host driver needs to pre-lo

AF_PACKET V4/AF_XDP userspace API questions

2018-01-30 Thread Ilias Apalodimas
We've noticed 3 different hardware approaches in receiving payloads 1. Host driver needs to pre-load descriptor ring with addresses of RAM buffers to write arriving data. The "standard" functionality for most NICs is (in little detail) fetch the descriptor, write the payload to host RAM and update