[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 04/21] net: Remove receive_raw()
|
From: |
Jason Wang |
|
Subject: |
Re: [PATCH v5 04/21] net: Remove receive_raw() |
|
Date: |
Mon, 30 Oct 2023 12:08:39 +0800 |
On Mon, Oct 30, 2023 at 12:03 PM Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>
> On 2023/10/30 12:06, Jason Wang wrote:
> >
> > 在 2023/10/27 15:52, Akihiko Odaki 写道:
> >> On 2023/10/27 15:49, Jason Wang wrote:
> >>> On Tue, Oct 17, 2023 at 12:09 PM Akihiko Odaki
> >>> <akihiko.odaki@daynix.com> wrote:
> >>>>
> >>>> While netmap implements virtio-net header, it does not implement
> >>>> receive_raw().
> >>>
> >>> The only user for raw is the announcing. Netmap probably doesn't it
> >>> at all.
> >>
> >> In my understanding, the announcing *sends* a raw packet.
> >
> >
> > It's send via NIC and receive by its peer which is the TAP
> >
> > qemu_send_packet_raw() -> nc -> nc->peer -> peer->receive_raw()?
> >
> > Anything I miss?
>
> The problem is that the peer can be netmap and netmap also requires a
> virtio-net header.
Right, but I don't know whether netmap can migrate.
Thanks
>
> Regards,
> Akihiko Odaki
>
[PATCH v5 06/21] net: Remove flag propagation, Akihiko Odaki, 2023/10/17
[PATCH v5 05/21] tap: Remove tap_receive(), Akihiko Odaki, 2023/10/17
[PATCH v5 07/21] tap: Shrink zeroed virtio-net header, Akihiko Odaki, 2023/10/17
[PATCH v5 08/21] virtio-net: Copy header only when necessary, Akihiko Odaki, 2023/10/17
[PATCH v5 09/21] virtio-net: Disable RSS on reset, Akihiko Odaki, 2023/10/17
[PATCH v5 10/21] virtio-net: Unify the logic to update NIC state for RSS, Akihiko Odaki, 2023/10/17
[PATCH v5 11/21] virtio-net: Return an error when vhost cannot enable RSS, Akihiko Odaki, 2023/10/17