Searched hist:"075 e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/dsa/ |
H A D | vitesse-vsc73xx.h | diff 075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08 Tue Aug 27 14:39:38 CEST 2024 Pawel Dembicki <paweldembicki@gmail.com> 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>
|
H A D | vitesse-vsc73xx-core.c | diff 075e3d30e4a3da8eadd12f2f063dc8e2ea9e1f08 Tue Aug 27 14:39:38 CEST 2024 Pawel Dembicki <paweldembicki@gmail.com> 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>
|