diff options
| author | Pawel Dembicki <[email protected]> | 2024-08-27 12:39:38 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-09-03 08:22:58 +0000 |
| commit | 075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08 (patch) | |
| tree | 24dd8ed2273c89fa0cda0c243f50500b4cd58096 /net/core/dev_ioctl.c | |
| parent | Merge tag 'linux-can-next-for-6.12-20240830' of git://git.kernel.org/pub/scm/... (diff) | |
| download | kernel-075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08.tar.gz kernel-075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08.zip | |
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 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions
