From: Sunil Kumar Kori <sk...@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 <sk...@marvell.com> --- drivers/common/cnxk/roc_nix_mac.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/common/cnxk/roc_nix_mac.c b/drivers/common/cnxk/roc_nix_mac.c index f79aaec4a5..0ffd05e4d4 100644 --- a/drivers/common/cnxk/roc_nix_mac.c +++ b/drivers/common/cnxk/roc_nix_mac.c @@ -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; -- 2.34.1