aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorPawel Dembicki <[email protected]>2024-08-27 14:39:38 +0200
committerPaolo Abeni <[email protected]>2024-09-03 10:22:58 +0200
commit075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08 (patch)
tree24dd8ed2273c89fa0cda0c243f50500b4cd58096 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parentda4f3b72c8831975a06eca7e1c27392726f54d20 (diff)
net: dsa: vsc73xx: implement FDB operations
This commit introduces implementations of three functions: .port_fdb_dump .port_fdb_add .port_fdb_del The FDB database organization is the same as in other old Vitesse chips: It has 2048 rows and 4 columns (buckets). The row index is calculated by the hash function 'vsc73xx_calc_hash' and the FDB entry must be placed exactly into row[hash]. The chip selects the bucket number by itself. Signed-off-by: Pawel Dembicki <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions