lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN6PR1101MB2145C9D8E5348A0B38B332F48C670@BN6PR1101MB2145.namprd11.prod.outlook.com>
Date:   Wed, 8 Jul 2020 20:43:50 +0000
From:   "Bowers, AndrewX" <andrewx.bowers@...el.com>
To:     "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "bpf@...r.kernel.org" <bpf@...r.kernel.org>
Subject: RE: [Intel-wired-lan] [PATCH net-next 2/4] i40e: use 16B HW
 descriptors instead of 32B

> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Björn Töpel
> Sent: Thursday, July 2, 2020 8:37 AM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: netdev@...r.kernel.org; bpf@...r.kernel.org; Topel, Bjorn
> <bjorn.topel@...el.com>; Karlsson, Magnus <magnus.karlsson@...el.com>
> Subject: [Intel-wired-lan] [PATCH net-next 2/4] i40e: use 16B HW descriptors
> instead of 32B
> 
> From: Björn Töpel <bjorn.topel@...el.com>
> 
> The i40e NIC supports two flavors of HW descriptors, 16 and 32 byte. The
> latter has, obviously, room for more offloading information. However, the
> only fields of the 32B HW descriptor that is being used by the driver, is also
> available in the 16B descriptor.
> 
> In other words; Reading and writing 32 bytes instead of 16 byte is a waste of
> bus bandwidth.
> 
> This commit starts using 16 byte descriptors instead of 32 byte descriptors.
> 
> For AF_XDP the rx_drop benchmark was improved by 2%.
> 
> Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h         |  2 +-
>  drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 10 ++++------
>  drivers/net/ethernet/intel/i40e/i40e_main.c    |  4 ++--
>  drivers/net/ethernet/intel/i40e/i40e_trace.h   |  6 +++---
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c    |  6 +++---
>  drivers/net/ethernet/intel/i40e/i40e_txrx.h    |  2 +-
>  drivers/net/ethernet/intel/i40e/i40e_type.h    |  5 ++++-
>  7 files changed, 18 insertions(+), 17 deletions(-)

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ