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]
Date:   Fri, 3 Mar 2023 17:08:46 +0000
From:   "Rout, ChandanX" <chandanx.rout@...el.com>
To:     "Sarkar, Tirthendu" <tirthendu.sarkar@...el.com>,
        "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
        "Nguyen, Anthony L" <anthony.l.nguyen@...el.com>,
        "bpf@...r.kernel.org" <bpf@...r.kernel.org>,
        "Karlsson, Magnus" <magnus.karlsson@...el.com>,
        "Kuruvinakunnel, George" <george.kuruvinakunnel@...el.com>,
        "Nagaraju, Shwetha" <shwetha.nagaraju@...el.com>,
        "Nagraj, Shravan" <shravan.nagraj@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH intel-next v6 7/8] i40e: add xdp_buff to
 i40e_ring struct



>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
>Sarkar, Tirthendu
>Sent: 18 February 2023 00:45
>To: intel-wired-lan@...ts.osuosl.org
>Cc: Sarkar, Tirthendu <tirthendu.sarkar@...el.com>; netdev@...r.kernel.org;
>Brandeburg, Jesse <jesse.brandeburg@...el.com>; Nguyen, Anthony L
><anthony.l.nguyen@...el.com>; bpf@...r.kernel.org; Karlsson, Magnus
><magnus.karlsson@...el.com>
>Subject: [Intel-wired-lan] [PATCH intel-next v6 7/8] i40e: add xdp_buff to
>i40e_ring struct
>
>Store xdp_buff on Rx ring struct in preparation for XDP multi-buffer support.
>This will allow us to combine fragmented frames across separate NAPI cycles
>in the same way as currently skb fragments are handled. This means that skb
>pointer on Rx ring will become redundant and will be removed in a later patch.
>As a consequence i40e_trace() now uses xdp instead of skb pointer.
>
>Truesize only needs to be calculated for page sizes bigger than 4k as it is
>always half-page for 4k pages. With xdp_buff on ring, frame size can now be
>set during xdp_init_buff() and need not be repopulated in each NAPI call for
>4k pages. As a consequence i40e_rx_frame_truesize() is now used only for
>bigger pages.
>
>Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@...el.com>
>---
> drivers/net/ethernet/intel/i40e/i40e_main.c  |  2 ++
>drivers/net/ethernet/intel/i40e/i40e_trace.h | 20 ++++++------
>drivers/net/ethernet/intel/i40e/i40e_txrx.c  | 33 ++++++++------------
>drivers/net/ethernet/intel/i40e/i40e_txrx.h  |  7 +++++
> 4 files changed, 32 insertions(+), 30 deletions(-)
>

Tested-by: Chandan Kumar Rout <chandanx.rout@...el.com> (A Contingent Worker at Intel)

Powered by blists - more mailing lists