On Wed, Mar 20, 2019 at 1:25 PM Ferruh Yigit <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. -- David Marchand