qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 05/21] tap: Remove tap_receive()


From: Akihiko Odaki
Subject: Re: [PATCH v6 05/21] tap: Remove tap_receive()
Date: Tue, 31 Oct 2023 13:57:08 +0900
User-agent: Mozilla Thunderbird

On 2023/10/31 3:52, Zhang, Chen wrote:


-----Original Message-----
From: qemu-devel-bounces+chen.zhang=intel.com@nongnu.org <qemu-
devel-bounces+chen.zhang=intel.com@nongnu.org> On Behalf Of Akihiko
Odaki
Sent: Monday, October 30, 2023 1:12 PM
Cc: qemu-devel@nongnu.org; Yuri Benditovich
<yuri.benditovich@daynix.com>; Andrew Melnychenko
<andrew@daynix.com>; Michael S . Tsirkin <mst@redhat.com>; Jason Wang
<jasowang@redhat.com>; Akihiko Odaki <akihiko.odaki@daynix.com>
Subject: [PATCH v6 05/21] tap: Remove tap_receive()

The receive member of NetClientInfo is only for legacy clients and the
receive_iov member is always used when it is set.

Under normal circumstances we still need to maintain compatibility.
It seems that there is no need to remove the tap_receive here.
You just need to optimize the tap_receive to call the tap_receive_iov.
In the history, we can see a large number of devices still keep this interface,
For example, e1000_receive can directly call the e1000_receive_iov.

That sounds a good idea. I'll do so in the next version.

Regards,
Akihiko Odaki



reply via email to

[Prev in Thread] Current Thread [Next in Thread]