• J
    nfp: flower: support stats update for merge flows · aa6ce2ea
    John Hurley 提交于
    With the merging of 2 sub flows, a new 'merge' flow will be created and
    written to FW. The TC layer is unaware that the merge flow exists and will
    request stats from the sub flows. Conversely, the FW treats a merge rule
    the same as any other rule and sends stats updates to the NFP driver.
    
    Add links between merge flows and their sub flows. Use these links to pass
    merge flow stats updates from FW to the underlying sub flows, ensuring TC
    stats requests are handled correctly. The updating of sub flow stats is
    done on (the less time critcal) TC stats requests rather than on FW stats
    update.
    Signed-off-by: NJohn Hurley <john.hurley@netronome.com>
    Signed-off-by: NSimon Horman <simon.horman@netronome.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    aa6ce2ea
offload.c 33.2 KB