]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit66c312ea1d3749783440f12e8dfb6db45512ea14
tree2fecdd24be4090eb1e78ed0c25d1d0cc01d78d04
parent18603683d7663b3a4da31ce8296a3049f4464e50
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