Thread (17 messages) 17 messages, 7 authors, 2019-02-18

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

From: Magnus Karlsson <hidden>
Date: 2019-02-11 07:52:22

On Mon, Feb 11, 2019 at 7:34 AM Jean-Mickael Guerin [off-list ref] wrote:
Hi Magnus,
quoted
* In a future release, I am planning on adding a higher level data
  plane interface too. This will be based around recvmsg and sendmsg
  with the use of struct iovec for batching, without the user having
  to know anything about the underlying four rings of an AF_XDP
  socket. There will be one semantic difference though from the
  standard recvmsg and that is that the kernel will fill in the iovecs
  instead of the application. But the rest should be the same as the
  libc versions so that application writers feel at home.
You might consider recvmmsg() and sendmmsg() (bulk of multi segments packets?)
Exactly :-). Spot on.

/Magnus
Jean-Mickael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help