From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by dpdk.org (Postfix) with ESMTP id 0C0574F94 for ; Mon, 30 Jul 2018 13:01:30 +0200 (CEST) Received: by mail-oi0-f52.google.com with SMTP id q11-v6so20395939oic.12 for ; Mon, 30 Jul 2018 04:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XQdRVIZTTRFpRpAzAWVQ3Plkog1vS1eX2rqnwxPkCJs=; b=mzCw3f633ZBLEb1SBLDS0KtgFtjUHhaFBqGXicEkIZMBIunzgKQ8pPgXcsLKmQbzkc FQH5oJp4DNbBJB5g1t6X0Jr0R6avuRkx8LX1vKLzCfGj/7E5lHftBrOExvbtWGW9OhEI xo0OFRW2lEamBsuPJXHxEmMTCdVZ3U6Mb9Ke68aYC2cvux9+xmWdNAFPB7Dx5a5vA+YW IQzoGnr7ri4bQBHvfg9ylScVmWWGERgjYQRyLnoHG6aO95MItupm9k/9HMYWJzHBTxVd 6055dnFYAuH4wYYtXJSrQECIKhRwm0CvwtOVJsRQLgvC2z06zBZXqXKhBJAulM1P7obP tGAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XQdRVIZTTRFpRpAzAWVQ3Plkog1vS1eX2rqnwxPkCJs=; b=B4GFxpKZRpfcPkFww2yTqJyPgThwSWP/tsVji1LSi9T4taZhZXqGzLsiRau/rNMgU2 QzgOW/wzoeMX4c86RpW6fZa66wWh6ibEhJzNEb1e7gRYQ4kDe37gR+tj4B3vUh6jJQ6+ tEVy/tWYTvZ+Blhyo/2kGcy97RPltRRTKK+Brj5WWw8rumLNPYvKEXAuVMVpmaLFEbs3 74iSWHGbSWmjby62NzBmrr7p8jnM1XW/xX/bG71j/v0yX/DTBCQ/Uoqbkpb0ztGagob/ rEt4BiqrU4IChPPjH7VS+pYsa5j+nD46Upzv01AMBZWevBiJseSCJ5wFoJU8C0GeOI2x 2JMg== X-Gm-Message-State: AOUpUlE1esM2xsktmGek20+JYiuve8Sl3HLucjf7p5YFSWgbC0tChODy s3cijex1WLpAon/lgS86TYh4IcLvkY/JaXQNZgyDcsWvIZE= X-Google-Smtp-Source: AAOMgpeb08yo5H5pw4I3802mxAZrRyn0FIONQI1mU27tCIYyoaI9jOg5GMezxfruETZP/tcNWSos8xQ+3Wu8SX3mack= X-Received: by 2002:aca:b208:: with SMTP id b8-v6mr16654157oif.144.1532948488989; Mon, 30 Jul 2018 04:01:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2429:0:0:0:0:0 with HTTP; Mon, 30 Jul 2018 04:01:08 -0700 (PDT) From: yogev ch Date: Mon, 30 Jul 2018 14:01:08 +0300 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] dpdk vmxnet3 clear stats missing (?) implementation X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 11:01:30 -0000 dpdk PMDs implement stats_reset of rte_ethdev.h:struct eth_dev_ops in order to reset port statistics. PMD vmxnet3 doesn't register it under static const struct eth_dev_ops vmxnet3_eth_dev_ops =3D { ... .stats_get =3D vmxnet3_dev_stats_get, .xstats_get_names =3D vmxnet3_dev_xstats_get_names, .xstats_get =3D vmxnet3_dev_xstats_get, ... There are only get functions, but no reset. =C2=B7 Does it mean vmxnet3 cannot clear port statistics? =C2=B7 Is there a way to implement it? I saw it over dpdk versions 17.11.1, dpdk-stable-18.02.2. Thanks, Yogev.