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>] [day] [month] [year] [list]
Message-ID: <6278894cd9ef6_6265d20832@john.notmuch>
Date:   Sun, 08 May 2022 20:23:56 -0700
From:   John Fastabend <john.fastabend@...il.com>
To:     Takshak Chahande <ctakshak@...com>, netdev@...r.kernel.org,
        bpf@...r.kernel.org
Cc:     andrii@...nel.org, ast@...nel.org, ctakshak@...com, ndixit@...com,
        kafai@...com, andriin@...com, daniel@...earbox.net, yhs@...com,
        ctakshak@...il.com
Subject: RE: [PATCH bpf-next v5 1/2] bpf: Extend batch operations for
 map-in-map bpf-maps

Takshak Chahande wrote:
> This patch extends batch operations support for map-in-map map-types:
> BPF_MAP_TYPE_HASH_OF_MAPS and BPF_MAP_TYPE_ARRAY_OF_MAPS
> 
> A usecase where outer HASH map holds hundred of VIP entries and its
> associated reuse-ports per VIP stored in REUSEPORT_SOCKARRAY type
> inner map, needs to do batch operation for performance gain.
> 
> This patch leverages the exiting generic functions for most of the batch
> operations. As map-in-map's value contains the actual reference of the inner map,
> for BPF_MAP_TYPE_HASH_OF_MAPS type, it needed an extra step to fetch the
> map_id from the reference value.
> 
> selftests are added in next patch 2/2.
> 
> Signed-off-by: Takshak Chahande <ctakshak@...com>
> Acked-by: Yonghong Song <yhs@...com>
> ---

Acked-by: John Fastabend <john.fastabend@...il.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ