From: Akihiko Odaki <akihiko.odaki@daynix.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>,
qemu-devel@nongnu.org,
Yuri Benditovich <yuri.benditovich@daynix.com>,
Andrew Melnychenko <andrew@daynix.com>
Subject: Re: [PATCH v3 01/11] tap: Remove tap_probe_vnet_hdr_len()
Date: Fri, 13 Oct 2023 23:22:10 +0900 [thread overview]
Message-ID: <29fef0dd-86b6-4cd6-bbbc-812b832d8fcf@daynix.com> (raw)
In-Reply-To: <20231013101508-mutt-send-email-mst@kernel.org>
On 2023/10/13 23:17, Michael S. Tsirkin wrote:
> On Fri, Oct 13, 2023 at 02:26:03PM +0900, Akihiko Odaki wrote:
>> On 2023/10/13 14:00, Jason Wang wrote:
>>> On Fri, Oct 13, 2023 at 12:14 PM Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>>>>
>>>> On 2023/10/13 10:38, Jason Wang wrote:
>>>>> On Wed, Oct 11, 2023 at 11:40 PM Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>>>>>>
>>>>>> It was necessary since an Linux older than 2.6.35 may implement the
>>>>>> virtio-net header but may not allow to change its length. Remove it
>>>>>> since such an old Linux is no longer supported.
>>>>>
>>>>> Where can I see this agreement?
>>>>
>>>> docs/about/build-platforms.rst says:
>>>> > The project aims to support the most recent major version at all times
>>>> > for up to five years after its initial release. Support for the
>>>> > previous major version will be dropped 2 years after the new major
>>>> > version is released or when the vendor itself drops support, whichever
>>>> > comes first. In this context, third-party efforts to extend the
>>>> > lifetime of a distro are not considered, even when they are endorsed
>>>> > by the vendor (eg. Debian LTS); the same is true of repositories that
>>>> > contain packages backported from later releases (e.g. Debian
>>>> > backports). Within each major release, only the most recent minor
>>>> > release is considered.
>>>> >
>>>> > For the purposes of identifying supported software versions available
>>>> > on Linux, the project will look at CentOS, Debian, Fedora, openSUSE,
>>>> > RHEL, SLES and Ubuntu LTS. Other distros will be assumed to ship
>>>> > similar software versions.
>>>
>>> Well it also says:
>>>
>>> """
>>> If a platform is not listed here, it does not imply that QEMU won't
>>> work. If an unlisted platform has comparable software versions to a
>>> listed platform, there is every expectation that it will work.
>>> """
>>>
>>> A lot of downstream have customized build scripts.
>>
>> Still Linux versions older than 2.6.35 do not look like "comparable software
>> versions to a listed platform" in my opinion.
>
>
> This is fine - I would be ok to replace support with an error message
> and failure. Not checking that a capability is supported however
> isn't a good idea. And once we do - do we still gain anything by
> not working around that?
tap does still check if setting the header length succeeds so it should
be fine.
next prev parent reply other threads:[~2023-10-13 14:22 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-11 15:39 [PATCH v3 00/11] virtio-net RSS/hash report fixes Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 01/11] tap: Remove tap_probe_vnet_hdr_len() Akihiko Odaki
2023-10-13 1:38 ` Jason Wang
2023-10-13 4:14 ` Akihiko Odaki
2023-10-13 5:00 ` Jason Wang
2023-10-13 5:26 ` Akihiko Odaki
2023-10-13 14:17 ` Michael S. Tsirkin
2023-10-13 14:22 ` Akihiko Odaki [this message]
2023-10-13 14:32 ` Michael S. Tsirkin
2023-10-13 14:34 ` Akihiko Odaki
2023-10-13 15:01 ` Michael S. Tsirkin
2023-10-16 5:25 ` Jason Wang
2023-10-16 5:30 ` Akihiko Odaki
2023-10-13 13:55 ` Michael S. Tsirkin
2023-10-13 14:00 ` Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 02/11] tap: Remove qemu_using_vnet_hdr() Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 03/11] net: Move virtio-net header length assertion Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 04/11] net: Remove receive_raw() Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 05/11] tap: Shrink zeroed virtio-net header Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 06/11] virtio-net: Copy header only when necessary Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 07/11] virtio-net: Disable RSS on reset Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 08/11] virtio-net: Unify the logic to update NIC state for RSS Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 09/11] virtio-net: Return an error when vhost cannot enable RSS Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 10/11] virtio-net: Do not clear VIRTIO_NET_F_RSS Akihiko Odaki
2023-10-11 15:39 ` [PATCH v3 11/11] ebpf: Fix RSS error handling Akihiko Odaki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29fef0dd-86b6-4cd6-bbbc-812b832d8fcf@daynix.com \
--to=akihiko.odaki@daynix.com \
--cc=andrew@daynix.com \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=yuri.benditovich@daynix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).