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:   Wed, 10 Oct 2018 12:15:39 +0200
From:   Jesper Dangaard Brouer <brouer@...hat.com>
To:     "Bshara, Saeed" <saeedb@...zon.com>
Cc:     "Bshara, Nafea" <nafea@...zon.com>,
        "Kiyanovski, Arthur" <akiyano@...zon.com>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "Woodhouse, David" <dwmw@...zon.co.uk>,
        "Machulsky, Zorik" <zorik@...zon.com>,
        "Matushevsky, Alexander" <matua@...zon.com>,
        "Wilson, Matt" <msw@...zon.com>,
        "Liguori, Anthony" <aliguori@...zon.com>,
        "Tzalik, Guy" <gtzalik@...zon.com>,
        "Belgazal, Netanel" <netanel@...zon.com>,
        "Saidi, Ali" <alisaidi@...zon.com>,
        Björn Töpel <bjorn.topel@...el.com>,
        brouer@...hat.com
Subject: Re: [PATCH V1 net-next 00/12] Improving performance and reducing
 latencies, by using latest capabilities exposed in ENA device


On Tue, 9 Oct 2018 21:18:30 +0000 "Bshara, Saeed" <saeedb@...zon.com> wrote:

> Currently the driver allocate page per rx buffer, but we are
> considering to support mode where page split to 2 buffers in order to
> overcome memory fragmentation issue on low memory systems. but, this
> won't work with XDP, right?
> what's your advice?

XDP is easiest to implement with 1-page per rx buffer, but given ixgbe
and i40e violated this, it is possible to use a page-split approach
with 2 frames per page, like they do. Do notice that you have to
deviate from the standard 256 bytes headroom for that to fit (which
basically killed my idea of placing the SKB in this headroom).

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

 
 
> From: Bshara, Nafea
> Sent: Tuesday, October 9, 2018 10:33 PM
> To: Jesper Dangaard Brouer; Kiyanovski, Arthur
> Cc: davem@...emloft.net; netdev@...r.kernel.org; Woodhouse, David; Machulsky, Zorik; Matushevsky, Alexander; Bshara, Saeed; Wilson, Matt; Liguori, Anthony; Tzalik, Guy; Belgazal, Netanel; Saidi, Ali; Björn Töpel
> Subject: Re: [PATCH V1 net-next 00/12] Improving performance and reducing latencies, by using latest capabilities exposed in ENA device
>     
> It is high priority for us right after this major release get merged.
> 
> On 10/9/18, 12:31 PM, "Jesper Dangaard Brouer" <brouer@...hat.com> wrote:
> 
>     
>     On Tue, 9 Oct 2018 21:44:57 +0300 <akiyano@...zon.com> wrote:
>     
>     > From: Arthur Kiyanovski <akiyano@...zon.com>
>     > 
>     > This patchset introduces the following:
>     > 1. A new placement policy of Tx headers and descriptors, which takes
>     > advantage of an option to place headers + descriptors in device memory
>     > space. This is sometimes referred to as LLQ - low latency queue.
>     > The patch set defines the admin capability, maps the device memory as
>     > write-combined, and adds a mode in transmit datapath to do header +
>     > descriptor placement on the device.
>     > 2. Support for RX checksum offloading
>     > 3. Miscelaneous small improvements and code cleanups
>     
>     What are your plans for XDP?
>     
>     You are unsure ask your-colleague David Woodhouse, who I've discussed
>     this with when he attended my talk at Kernel-Recipes[1], slide[2].
>     
>     [1]  https://kernel-recipes.org/en/2018/talks/xdp-a-new-programmable-network-layer/
>     [2]  http://people.netfilter.org/hawk/presentations/KernelRecipes2018/XDP_Kernel_Recipes_2018.pdf
>     -- 
>     Best regards,
>       Jesper Dangaard Brouer
>       MSc.CS, Principal Kernel Engineer at Red Hat
>       LinkedIn: http://www.linkedin.com/in/brouer
>     
> 
>     


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ