Hi all,
What about the following steps:
- update the nodes so they work on the current layer (example: for all L3
nodes, the current mbuf data offset *must* be pointing to the IP header)
- define a public data structure that would be shared across nodes through priv
data, and not dynfields ? Thi
> On 9 Oct 2024, at 15:29, Nitin Saxena wrote:
>
> Feature arc represents an ordered list of features/protocols at a given
> networking layer. It is a high level abstraction to connect various
> rte_graph nodes, as feature nodes, and allow packets steering across
> these nodes in a generic man
s rely on them.
> + */
> +struct __rte_packed vhu_msg_context {
> + VhostUserMsg msg;
> int fds[VHOST_MEMORY_MAX_NREGIONS];
> int fd_num;
> - VhostUserMsg msg;
> };
>
> #define VHOST_USER_HDR_SIZE offsetof(VhostUserMsg, payload.u64)
> --
> 2.23.0
>
Sorry to have missed that test with virtio-crypto ; I'll create
another thread to talk about the VhostUserMsg extension.
Reviewed-by: Christophe Fontaine
Thanks,
Christophe
From: Christophe Fontaine
FDs at the end of the VhostUserMessage structure limits the size
of the payload. Move them to an other englobing structure, before
the header & payload of a VhostUserMessage.
Also removes a reference to fds in the VHUMsg structure defined in
drivers/net/vi
This patch removes the file descriptors from the struct VhostUserMessage
as it is not part of the spec.
These FDs are moved to a englobing context structure.
v2: rebased on top of dpdk-next-virtio
Christophe Fontaine (1):
vhost: move fds outside of VhostUserMessage
drivers/net/virtio
-off-by: Christophe Fontaine
---
drivers/net/virtio/virtio_user/vhost_user.c | 1 -
lib/vhost/vhost_crypto.c| 10 +-
lib/vhost/vhost_user.c | 529 ++--
lib/vhost/vhost_user.h | 7 +-
4 files changed, 288 insert
This patch removes the file descriptors from the struct VhostUserMessage
as it is not part of the spec.
These FDs are moved to a englobing context structure.
Christophe Fontaine (1):
vhost: Move fds outside of VhostUserMessage
drivers/net/virtio/virtio_user/vhost_user.c | 1 -
lib/vhost
7 matches
Mail list logo