]> 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)
commitfd2d18a1f2b35a84a6c9685d356caba0ae3f41a5
tree2fecdd24be4090eb1e78ed0c25d1d0cc01d78d04
parent2069b6226f783b54a4c9f2cb38e8c9bf27e3291e
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