netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Jesper Dangaard Brouer <jbrouer@redhat.com>,
	Jesper Dangaard Brouer <hawk@kernel.org>,
	Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Andrii Nakryiko <andrii@kernel.org>,
	Martin KaFai Lau <martin.lau@linux.dev>,
	Song Liu <song@kernel.org>,
	Yonghong Song <yonghong.song@linux.dev>,
	John Fastabend <john.fastabend@gmail.com>,
	KP Singh <kpsingh@kernel.org>,
	Stanislav Fomichev <sdf@google.com>, Hao Luo <haoluo@google.com>,
	Jiri Olsa <jolsa@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: brouer@redhat.com, bpf@vger.kernel.org, netdev@vger.kernel.org,
	Samuel Dobron <sdobron@redhat.com>,
	Ondrej Lichtner <olichtne@redhat.com>,
	Rick Alongi <ralongi@redhat.com>
Subject: Re: [PATCH bpf-next 4/6] samples/bpf: Remove the xdp1 and xdp2 utilities
Date: Tue, 22 Aug 2023 19:35:57 +0200	[thread overview]
Message-ID: <877cpn9dz6.fsf@toke.dk> (raw)
In-Reply-To: <b3d2080d-e593-283b-cf97-d39256cfd4e9@redhat.com>

Jesper Dangaard Brouer <jbrouer@redhat.com> writes:

> On 22/08/2023 18.56, Toke Høiland-Jørgensen wrote:
>> Jesper Dangaard Brouer <hawk@kernel.org> writes:
>> 
>>> On 22/08/2023 16.22, Toke Høiland-Jørgensen wrote:
>>>> The functionality of these utilities have been incorporated into the
>>>> xdp-bench utility in xdp-tools. Remove the unmaintained versions in
>>>> samples.
>>>>
>>>
>>> I think it will be worth our time if we give some examples of how the
>>> removed utility translates to some given xdp-bench commands.  There is
>>> not a 1-1 mapping.
>>>
>>> XDP driver changes need to be verified on physical NIC hardware, so
>>> these utilities are still being run by QA.  I know Red Hat, Intel and
>>> Linaro QA people are using these utilities.  It will save us time if we
>>> can reference a commit message instead of repeatable describing this.
>>> E.g. for Intel is it often contingent workers that adds a tested-by
>>> (that all need to update their knowledge).
>> 
>> I did think about putting that in the commit message for these, but I
>> figured it was too obscure a place to put it, compared to (for instance)
>> putting it into the xdp-bench man page.
>> 
>> If you prefer to have it in the commit message as well, I can respin
>> adding it - WDYT?
>> 
>
> It is super nice that xdp-bench already have a man page, but I was 
> actually looking at this and it was a bit overwhelming (520 lines) 
> explaining every possible option.

Haha, I think that's the first time I've had anyone complain that I
write too *much* documentation ;)

> I really think its worth giving examples in the commit, to ease the 
> transition to this new tool.

OK, I'll respin tomorrow with some examples in the commit messages...

-Toke


  reply	other threads:[~2023-08-22 17:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22 14:22 [PATCH bpf-next 0/6] samples/bpf: Remove unmaintained XDP sample utilities Toke Høiland-Jørgensen
2023-08-22 14:22 ` [PATCH bpf-next 1/6] samples/bpf: Remove the xdp_monitor utility Toke Høiland-Jørgensen
2023-08-22 14:22 ` [PATCH bpf-next 2/6] samples/bpf: Remove the xdp_redirect* utilities Toke Høiland-Jørgensen
2023-08-22 14:22 ` [PATCH bpf-next 3/6] samples/bpf: Remove the xdp_rxq_info utility Toke Høiland-Jørgensen
2023-08-22 14:22 ` [PATCH bpf-next 4/6] samples/bpf: Remove the xdp1 and xdp2 utilities Toke Høiland-Jørgensen
2023-08-22 15:51   ` Jesper Dangaard Brouer
2023-08-22 16:56     ` Toke Høiland-Jørgensen
2023-08-22 17:04       ` Jesper Dangaard Brouer
2023-08-22 17:35         ` Toke Høiland-Jørgensen [this message]
2023-08-22 14:22 ` [PATCH bpf-next 5/6] samples/bpf: Remove the xdp_sample_pkts utility Toke Høiland-Jørgensen
2023-08-22 14:22 ` [PATCH bpf-next 6/6] samples/bpf: Cleanup .gitignore Toke Høiland-Jørgensen
2023-08-22 19:27 ` [PATCH bpf-next 0/6] samples/bpf: Remove unmaintained XDP sample utilities Alexei Starovoitov

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=877cpn9dz6.fsf@toke.dk \
    --to=toke@redhat.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=brouer@redhat.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=haoluo@google.com \
    --cc=hawk@kernel.org \
    --cc=jbrouer@redhat.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=kuba@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=olichtne@redhat.com \
    --cc=ralongi@redhat.com \
    --cc=sdf@google.com \
    --cc=sdobron@redhat.com \
    --cc=song@kernel.org \
    --cc=yonghong.song@linux.dev \
    /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).