mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 05:45:09 +07:00
b8b394faa9
This runs existing SOCKMAP tests with SOCKHASH map type. To do this we push programs into include file and build two BPF programs. One for SOCKHASH and one for SOCKMAP. We then run the entire test suite with each type. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
6 lines
187 B
C
6 lines
187 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Copyright (c) 2018 Covalent IO, Inc. http://covalent.io
|
|
#undef SOCKMAP
|
|
#define TEST_MAP_TYPE BPF_MAP_TYPE_SOCKHASH
|
|
#include "./test_sockmap_kern.h"
|