tipc: re-configure queue limit for broadcast link
authorHoang Huu Le <hoang.h.le@dektech.com.au>
Fri, 16 Oct 2020 02:31:18 +0000 (09:31 +0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Oct 2020 21:09:12 +0000 (14:09 -0700)
commit75cee397ae6f1020fbb75db90aa22a51bc3318ac
tree83414d91c1f844ed5b73d872638b55e65fff9635
parent9ff9b0d392ea08090cd1780fb196f36dbb586529
tipc: re-configure queue limit for broadcast link

The queue limit of the broadcast link is being calculated base on initial
MTU. However, when MTU value changed (e.g manual changing MTU on NIC
device, MTU negotiation etc.,) we do not re-calculate queue limit.
This gives throughput does not reflect with the change.

So fix it by calling the function to re-calculate queue limit of the
broadcast link.

Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Hoang Huu Le <hoang.h.le@dektech.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tipc/bcast.c