summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microchip
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2024-08-27 14:39:38 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-09-03 10:22:58 +0200
commit075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08 (patch)
tree24dd8ed2273c89fa0cda0c243f50500b4cd58096 /drivers/net/ethernet/microchip
parentda4f3b72c8831975a06eca7e1c27392726f54d20 (diff)
downloadlinux-075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08.tar.gz
linux-075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08.tar.bz2
linux-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 <paweldembicki@gmail.com> Link: https://patch.msgid.link/20240827123938.582789-1-paweldembicki@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/microchip')
0 files changed, 0 insertions, 0 deletions