diff options
author | Vamsi Attunuru <vamsi.attunuru@marvell.com> | 2018-10-22 23:25:50 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-22 20:15:37 -0700 |
commit | 42349661780e893537205f9c4c27b1bae060d96a (patch) | |
tree | deeb1b677eca37b147e92bd7dceaa57a119a8368 /drivers/net/ethernet/marvell/octeontx2/af/mbox.h | |
parent | b279bbb3314e114609983b02c4253aff6b4be976 (diff) | |
download | linux-42349661780e893537205f9c4c27b1bae060d96a.tar.gz linux-42349661780e893537205f9c4c27b1bae060d96a.tar.bz2 linux-42349661780e893537205f9c4c27b1bae060d96a.zip |
octeontx2-af: Reset NIXLF's Rx/Tx stats
This patch adds a new mailbox message to reset
a NIXLF's receive and transmit HW stats.
Signed-off-by: Vamsi Attunuru <vamsi.attunuru@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/mbox.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h index f2e0743d2a2e..f8efeaa66dda 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h @@ -155,7 +155,8 @@ M(NIX_AQ_ENQ, 0x8002, nix_aq_enq_req, nix_aq_enq_rsp) \ M(NIX_HWCTX_DISABLE, 0x8003, hwctx_disable_req, msg_rsp) \ M(NIX_TXSCH_ALLOC, 0x8004, nix_txsch_alloc_req, nix_txsch_alloc_rsp) \ M(NIX_TXSCH_FREE, 0x8005, nix_txsch_free_req, msg_rsp) \ -M(NIX_TXSCHQ_CFG, 0x8006, nix_txschq_config, msg_rsp) +M(NIX_TXSCHQ_CFG, 0x8006, nix_txschq_config, msg_rsp) \ +M(NIX_STATS_RST, 0x8007, msg_req, msg_rsp) /* Messages initiated by AF (range 0xC00 - 0xDFF) */ #define MBOX_UP_CGX_MESSAGES \ |