[dpdk-dev] [PATCH v2] net/failsafe: stat support enhancement
ferruh.yigit at intel.com
Mon Sep 11 18:19:53 CEST 2017
On 9/7/2017 1:19 PM, Gaëtan Rivet wrote:
> Hi Matan,
> You should send your v[N] In-Reply-To the Message-Id of your v[N-1]
> to help people reading.
> On Thu, Sep 07, 2017 at 02:31:13PM +0300, Matan Azrad wrote:
>> The previous stats code returned only the current TX sub
>> device stats.
>> This enhancement extends it to return the sum of all sub
>> devices stats with history of removed sub-devices.
>> Dedicated stats accumulator saves the stat history of all
>> sub device remove events.
>> Each failsafe sub device contains the last stats asked by
>> the user and updates the accumulator in removal time.
>> I would like to implement ultimate snapshot on removal time.
>> The stats_get API needs to be changed to return error in the
>> case it is too late to retrieve statistics.
>> By this way, failsafe can get stats snapshot in removal interrupt
>> callback for each PMD which can give stats after removal event.
>> Signed-off-by: Matan Azrad <matan at mellanox.com>
> Acked-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev