diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2019-11-01 12:03:44 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-02 00:38:49 +0100 |
commit | 64fe8c061de7d7ffdfdc104a57d48d645ae0ac4f (patch) | |
tree | 874762fd9e7687d0218d8603329090abea2b71cc /lib/uuid.c | |
parent | 75b0bfd2e1a7d0c698b617f5e5ceaf056bdcaef7 (diff) |
xsk: Store struct xdp_sock as a flexible array member of the XSKMAP
Prior this commit, the array storing XDP socket instances were stored
in a separate allocated array of the XSKMAP. Now, we store the sockets
as a flexible array member in a similar fashion as the arraymap. Doing
so, we do less pointer chasing in the lookup.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Link: https://lore.kernel.org/bpf/20191101110346.15004-2-bjorn.topel@gmail.com
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions