On 3/20/2019 12:44 PM, David Marchand wrote: > On Wed, Mar 20, 2019 at 1:25 PM Ferruh Yigit <ferruh.yi...@intel.com > <mailto:ferruh.yi...@intel.com>> wrote: > > On 3/20/2019 10:02 AM, David Marchand wrote: > > Add a new "show/clear fwd stats all" command to display fwd and port > > statistics on the fly. > > Won't this be duplicating existing commands: > "show port stats all|<port_id>" > "clear port stats all|<port_id>" > > What benefit "show/clear fwd stats all" adds against existing ones? > > > Forwarding engines like "iofwd" maintain software statistics like > "fwd_dropped" > which gives you how much of the packets to be transmitted could not make it to > the "wire". > "show port stats" won't give you those stats. > > You could stop/start the forwarding to get them, but when debugging you most > likely do not want to stop the forwarding. > I have been using this while tracking drops in a PVP setup.
I see, they are slightly different, no objection from me.