summaryrefslogtreecommitdiff
path: root/net/ipv4/nexthop.c
diff options
context:
space:
mode:
authorMaxim Kochetkov <fido_max@inbox.ru>2020-10-19 08:06:25 +0300
committerJakub Kicinski <kuba@kernel.org>2020-10-20 04:03:42 +0300
commita15a6afb3bf9388eb83a4b876d3453f305fba909 (patch)
tree3a27fd728ada99580e1f5216f4e08b41e4af355d /net/ipv4/nexthop.c
parent26ebd6fed9bb3aa480c7c0f147ac0e7b11000f65 (diff)
downloadlinux-a15a6afb3bf9388eb83a4b876d3453f305fba909.tar.xz
net: dsa: seville: the packet buffer is 2 megabits, not megabytes
The VSC9953 Seville switch has 2 megabits of buffer split into 4360 words of 60 bytes each. 2048 * 1024 is 2 megabytes instead of 2 megabits. 2 megabits is (2048 / 8) * 1024 = 256 * 1024. Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Fixes: a63ed92d217f ("net: dsa: seville: fix buffer size of the queue system") Link: https://lore.kernel.org/r/20201019050625.21533-1-fido_max@inbox.ru Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/nexthop.c')
0 files changed, 0 insertions, 0 deletions