Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bowers, AndrewX <andrewx.bowers@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH S30 8/9] ice: add build_skb() support
Date: Tue, 15 Oct 2019 23:16:41 +0000	[thread overview]
Message-ID: <9031c60af3a54619966290fdf458d51b@intel.com> (raw)
In-Reply-To: <20191009140925.13997-8-anthony.l.nguyen@intel.com>

> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, October 9, 2019 7:09 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S30 8/9] ice: add build_skb() support
> 
> From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> 
> Driver is now prepared for building the skb around the existing Rx buffer, so
> introduce the ice_build_skb responsible for it. Make use of XDP's data_meta
> as well.
> 
> I've observed around 30% less CPU consumption with build_skb Rx path, in
> comparison to legacy Rx. What stands behind such result is the avoidance of
> flow_dissector (which we were diving into via eth_get_headlen) and no
> memcpy calls.
> 
> Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_txrx.c | 60 ++++++++++++++++++++++-
>  1 file changed, 59 insertions(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers@intel.com>



  reply	other threads:[~2019-10-15 23:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 14:09 [Intel-wired-lan] [PATCH S30 1/9] ice: Introduce ice_base.c Tony Nguyen
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 2/9] ice: get rid of per-tc flow in Tx queue configuration routines Tony Nguyen
2019-10-15 18:18   ` Bowers, AndrewX
2019-10-15 23:13   ` Bowers, AndrewX
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 3/9] ice: Add support for XDP Tony Nguyen
2019-10-15 23:14   ` Bowers, AndrewX
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 4/9] ice: Move common functions to ice_txrx_lib.c Tony Nguyen
2019-10-15 23:14   ` Bowers, AndrewX
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 5/9] ice: Add support for AF_XDP Tony Nguyen
2019-10-15 23:15   ` Bowers, AndrewX
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 6/9] ice: introduce legacy rx flag Tony Nguyen
2019-10-15 23:15   ` Bowers, AndrewX
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 7/9] ice: introduce frame padding computation logic Tony Nguyen
2019-10-15 23:16   ` Bowers, AndrewX
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 8/9] ice: add build_skb() support Tony Nguyen
2019-10-15 23:16   ` Bowers, AndrewX [this message]
2019-10-09 14:09 ` [Intel-wired-lan] [PATCH S30 9/9] ice: allow 3k MTU for XDP Tony Nguyen
2019-10-15 23:17   ` Bowers, AndrewX
2019-10-15 23:13 ` [Intel-wired-lan] [PATCH S30 1/9] ice: Introduce ice_base.c Bowers, AndrewX

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=9031c60af3a54619966290fdf458d51b@intel.com \
    --to=andrewx.bowers@intel.com \
    --cc=intel-wired-lan@osuosl.org \
    /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