|
| From: | Jason Wang |
| Subject: | Re: [PATCH v5 04/21] net: Remove receive_raw() |
| Date: | Mon, 30 Oct 2023 11:06:56 +0800 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
在 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? Thanks
Both of tap and netmap *receive* packets with virtio-net headers. Regards, Akihiko Odaki
| [Prev in Thread] | Current Thread | [Next in Thread] |