From: "Nguyen, Anthony L" <anthony.l.nguyen@intel.com>
To: "Lobakin, Alexandr" <alexandr.lobakin@intel.com>,
"jbrouer@redhat.com" <jbrouer@redhat.com>
Cc: "songliubraving@fb.com" <songliubraving@fb.com>,
"hawk@kernel.org" <hawk@kernel.org>,
"kafai@fb.com" <kafai@fb.com>,
"andrii@kernel.org" <andrii@kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"Fijalkowski, Maciej" <maciej.fijalkowski@intel.com>,
"john.fastabend@gmail.com" <john.fastabend@gmail.com>,
"Brandeburg, Jesse" <jesse.brandeburg@intel.com>,
"kpsingh@kernel.org" <kpsingh@kernel.org>,
"ast@kernel.org" <ast@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"brouer@redhat.com" <brouer@redhat.com>,
"yhs@fb.com" <yhs@fb.com>,
"Joseph, Jithu" <jithu.joseph@intel.com>,
"intel-wired-lan@lists.osuosl.org"
<intel-wired-lan@lists.osuosl.org>,
"kuba@kernel.org" <kuba@kernel.org>,
"bjorn@kernel.org" <bjorn@kernel.org>,
"daniel@iogearbox.net" <daniel@iogearbox.net>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"michal.swiatkowski@linux.intel.com"
<michal.swiatkowski@linux.intel.com>,
"bpf@vger.kernel.org" <bpf@vger.kernel.org>
Subject: Re: [PATCH v4 net-next 2/9] i40e: respect metadata on XSK Rx to skb
Date: Thu, 9 Dec 2021 18:50:07 +0000 [thread overview]
Message-ID: <11db2426b85eb8cedd5e2d66d6399143cb382b49.camel@intel.com> (raw)
In-Reply-To: <20211209173816.5157-1-alexandr.lobakin@intel.com>
On Thu, 2021-12-09 at 18:38 +0100, Alexander Lobakin wrote:
> From: Jesper Dangaard Brouer <jbrouer@redhat.com>
> Date: Thu, 9 Dec 2021 09:27:37 +0100
>
> > On 08/12/2021 15.06, Alexander Lobakin wrote:
> > > For now, if the XDP prog returns XDP_PASS on XSK, the metadata
> > > will
> > > be lost as it doesn't get copied to the skb.
> >
> > I have an urge to add a newline here, when reading this, as IMHO it
> > is a
> > paragraph with the problem statement.
> >
> > > Copy it along with the frame headers. Account its size on skb
> > > allocation, and when copying just treat it as a part of the frame
> > > and do a pull after to "move" it to the "reserved" zone.
> >
> > Also newline here, as next paragraph are some extra details, you
> > felt a
> > need to explain to the reader.
> >
> > > net_prefetch() xdp->data_meta and align the copy size to speed-up
> > > memcpy() a little and better match i40e_costruct_skb().
> > ^^^^^^xx^^^^^^^^^
> >
> > commit messages.
>
> Oh gosh, I thought I don't have attention deficit. Thanks, maybe
> Tony will fix it for me or I could send a follow-up (or resend if
> needed, I saw those were already applied to dev-queue).
If there's no need for follow-ups beyond this change, I'll fix it up.
Thanks,
Tony
> > --Jesper
>
> Al
WARNING: multiple messages have this Message-ID (diff)
From: Nguyen, Anthony L <anthony.l.nguyen@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH v4 net-next 2/9] i40e: respect metadata on XSK Rx to skb
Date: Thu, 9 Dec 2021 18:50:07 +0000 [thread overview]
Message-ID: <11db2426b85eb8cedd5e2d66d6399143cb382b49.camel@intel.com> (raw)
In-Reply-To: <20211209173816.5157-1-alexandr.lobakin@intel.com>
On Thu, 2021-12-09 at 18:38 +0100, Alexander Lobakin wrote:
> From: Jesper Dangaard Brouer <jbrouer@redhat.com>
> Date: Thu, 9 Dec 2021 09:27:37 +0100
>
> > On 08/12/2021 15.06, Alexander Lobakin wrote:
> > > For now, if the XDP prog returns XDP_PASS on XSK, the metadata
> > > will
> > > be lost as it doesn't get copied to the skb.
> >
> > I have an urge to add a newline here, when reading this, as IMHO it
> > is a
> > paragraph with the problem statement.
> >
> > > Copy it along with the frame headers. Account its size on skb
> > > allocation, and when copying just treat it as a part of the frame
> > > and do a pull after to "move" it to the "reserved" zone.
> >
> > Also newline here, as next paragraph are some extra details, you
> > felt a
> > need to explain to the reader.
> >
> > > net_prefetch() xdp->data_meta and align the copy size to speed-up
> > > memcpy() a little and better match i40e_costruct_skb().
> > ????????????????????????????????????? ^^^^^^xx^^^^^^^^^
> >
> > commit messages.
>
> Oh gosh, I thought I don't have attention deficit. Thanks, maybe
> Tony will fix it for me or I could send a follow-up (or resend if
> needed, I saw those were already applied to dev-queue).
If there's no need for follow-ups beyond this change, I'll fix it up.
Thanks,
Tony
> > --Jesper
>
> Al
next prev parent reply other threads:[~2021-12-09 18:51 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 14:06 [PATCH v4 net-next 0/9] net: intel: napi_alloc_skb() vs metadata Alexander Lobakin
2021-12-08 14:06 ` [Intel-wired-lan] " Alexander Lobakin
2021-12-08 14:06 ` [PATCH v4 net-next 1/9] i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb Alexander Lobakin
2021-12-08 14:06 ` [Intel-wired-lan] " Alexander Lobakin
2021-12-09 8:19 ` Jesper Dangaard Brouer
2021-12-09 8:19 ` [Intel-wired-lan] " Jesper Dangaard Brouer
2021-12-09 17:33 ` Alexander Lobakin
2021-12-09 17:33 ` [Intel-wired-lan] " Alexander Lobakin
2021-12-10 13:31 ` Jesper Dangaard Brouer
2021-12-10 13:31 ` [Intel-wired-lan] " Jesper Dangaard Brouer
2022-01-29 8:55 ` Bhandare, KiranX
2022-01-29 8:55 ` Bhandare, KiranX
2021-12-08 14:06 ` [PATCH v4 net-next 2/9] i40e: respect metadata " Alexander Lobakin
2021-12-08 14:06 ` [Intel-wired-lan] " Alexander Lobakin
2021-12-09 8:27 ` Jesper Dangaard Brouer
2021-12-09 8:27 ` [Intel-wired-lan] " Jesper Dangaard Brouer
2021-12-09 17:38 ` Alexander Lobakin
2021-12-09 17:38 ` [Intel-wired-lan] " Alexander Lobakin
2021-12-09 18:50 ` Nguyen, Anthony L [this message]
2021-12-09 18:50 ` Nguyen, Anthony L
2021-12-10 11:08 ` Alexander Lobakin
2021-12-10 11:08 ` [Intel-wired-lan] " Alexander Lobakin
2022-01-10 11:24 ` Bhandare, KiranX
2022-01-10 11:24 ` Bhandare, KiranX
2021-12-08 14:06 ` [PATCH v4 net-next 3/9] ice: respect metadata in legacy-rx/ice_construct_skb() Alexander Lobakin
2021-12-08 14:06 ` [Intel-wired-lan] " Alexander Lobakin
2022-01-10 10:16 ` Bhandare, KiranX
2022-01-10 10:16 ` Bhandare, KiranX
2021-12-08 14:06 ` [PATCH v4 net-next 4/9] ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb Alexander Lobakin
2021-12-08 14:06 ` [Intel-wired-lan] " Alexander Lobakin
2022-01-10 10:13 ` Bhandare, KiranX
2022-01-10 10:13 ` Bhandare, KiranX
2021-12-08 14:06 ` [PATCH v4 net-next 5/9] ice: respect metadata " Alexander Lobakin
2021-12-08 14:06 ` [Intel-wired-lan] " Alexander Lobakin
2022-01-10 11:37 ` Bhandare, KiranX
2022-01-10 11:37 ` Bhandare, KiranX
2021-12-08 14:06 ` [PATCH v4 net-next 6/9] igc: don't reserve excessive XDP_PACKET_HEADROOM " Alexander Lobakin
2021-12-08 14:06 ` [Intel-wired-lan] " Alexander Lobakin
2021-12-27 20:34 ` Kraus, NechamaX
2021-12-27 20:34 ` Kraus, NechamaX
2021-12-08 14:07 ` [PATCH v4 net-next 7/9] ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly Alexander Lobakin
2021-12-08 14:07 ` [Intel-wired-lan] " Alexander Lobakin
2022-01-11 7:30 ` Penigalapati, Sandeep
2022-01-11 7:30 ` Penigalapati, Sandeep
2021-12-08 14:07 ` [PATCH v4 net-next 8/9] ixgbe: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb Alexander Lobakin
2021-12-08 14:07 ` [Intel-wired-lan] " Alexander Lobakin
2022-01-11 11:51 ` Penigalapati, Sandeep
2022-01-11 11:51 ` Penigalapati, Sandeep
2021-12-08 14:07 ` [PATCH v4 net-next 9/9] ixgbe: respect metadata " Alexander Lobakin
2021-12-08 14:07 ` [Intel-wired-lan] " Alexander Lobakin
2022-01-11 11:52 ` Penigalapati, Sandeep
2022-01-11 11:52 ` Penigalapati, Sandeep
2022-01-10 10:11 ` [Intel-wired-lan] [PATCH v4 net-next 0/9] net: intel: napi_alloc_skb() vs metadata Bhandare, KiranX
2022-01-10 10:11 ` Bhandare, KiranX
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=11db2426b85eb8cedd5e2d66d6399143cb382b49.camel@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=alexandr.lobakin@intel.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bjorn@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=brouer@redhat.com \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=hawk@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jbrouer@redhat.com \
--cc=jesse.brandeburg@intel.com \
--cc=jithu.joseph@intel.com \
--cc=john.fastabend@gmail.com \
--cc=kafai@fb.com \
--cc=kpsingh@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maciej.fijalkowski@intel.com \
--cc=michal.swiatkowski@linux.intel.com \
--cc=netdev@vger.kernel.org \
--cc=songliubraving@fb.com \
--cc=yhs@fb.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.