]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Add mbox to retrieve bandwidth profile free count
authorSunil Goutham <sgoutham@marvell.com>
Wed, 25 Aug 2021 12:18:46 +0000 (17:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 12:39:02 +0000 (13:39 +0100)
commitc025e1d5c5232e9975a1d04708463437bb975900
tree2fecdd24be4090eb1e78ed0c25d1d0cc01d78d04
parent6fcd593c644528be3975dbff076f18a89e1108e2
octeontx2-af: Add mbox to retrieve bandwidth profile free count

Added mbox for PF/VF drivers to retrieve current ingress bandwidth
profile free count. Also added current policer timeunit
configuration info based on which ratelimiting decisions can be
taken by PF/VF drivers.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c