[v2,06/17] common/cnxk: remove restriction to clear RPM stats
Checks
Commit Message
From: Sunil Kumar Kori <skori@marvell.com>
Linux does not support clearing RPM stats on cn10k platform.
Hence restriction is added that when user requests to clear
xstats then request is discarded silently.
Hence removing restriction for cn10k.
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
---
drivers/common/cnxk/roc_nix_mac.c | 5 -----
1 file changed, 5 deletions(-)
@@ -363,11 +363,6 @@ roc_nix_mac_stats_reset(struct roc_nix *roc_nix)
struct msg_req *req;
int rc = -ENOSPC;
- if (roc_model_is_cn10k()) {
- rc = 0;
- goto exit;
- }
-
if (roc_nix_is_vf_or_sdp(roc_nix)) {
rc = 0;
goto exit;