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] [day] [month] [year] [list]
Message-ID: <MN2PR11MB404558A3074E14962EB203FAEAB69@MN2PR11MB4045.namprd11.prod.outlook.com>
Date:   Mon, 6 Mar 2023 04:23:27 +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 3/8] i40e: add pre-xdp
 page_count in rx_buffer



>-----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 3/8] i40e: add pre-xdp
>page_count in rx_buffer
>
>Page count of rx_buffer needs to be stored prior to XDP call to prevent page
>recycling in case that buffer would be freed within xdp redirect path. Instead
>of storing it on the stack, now it is stored in the rx_buffer struct. This will help
>in processing multi-buffers as the page counts of all rx_buffers (of the same
>packet) don't need to be stored on stack.
>
>Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@...el.com>
>---
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 23 +++++++--------------
>drivers/net/ethernet/intel/i40e/i40e_txrx.h |  1 +
> 2 files changed, 9 insertions(+), 15 deletions(-)
>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ