]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: Add software counters to track reallocations
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 27 Sep 2018 22:36:14 +0000 (15:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 06:11:53 +0000 (23:11 -0700)
commit1c68ce90312be7cad1e11eb7b5b3c55720edf3d1
treecea668d56d068aff9a40fcf16a8c7024d406b8f4
parentf4699d95519b1e925b55b0fcedfa459be16b69b4
net: systemport: Add software counters to track reallocations

When inserting the TSB, keep track of how many times we had to do it and
if there was a failure in doing so, this helps profile the driver for
possibly incorrect headroom settings.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c
drivers/net/ethernet/broadcom/bcmsysport.h