netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Eelco Chaudron <echaudro@redhat.com>, netdev@vger.kernel.org
Cc: davem@davemloft.net, stephen@networkplumber.org
Subject: Re: [PATCH iproute2/net-next v3] tc_util: Add support for showing TCA_STATS_BASIC_HW statistics
Date: Tue, 2 Oct 2018 15:50:16 -0600	[thread overview]
Message-ID: <2e22873d-c03d-403c-3d7d-7b76a1259998@gmail.com> (raw)
In-Reply-To: <20181002072658.56399.72523.stgit@wsfd-netdev20.ntdv.lab.eng.bos.redhat.com>

On 10/2/18 1:27 AM, Eelco Chaudron wrote:
> Add support for showing hardware specific counters to easy
> troubleshooting hardware offload.
> 
> $ tc -s filter show dev enp3s0np0 parent ffff:
> filter protocol ip pref 1 flower chain 0
> filter protocol ip pref 1 flower chain 0 handle 0x1
>   eth_type ipv4
>   dst_ip 2.0.0.0
>   src_ip 1.0.0.0
>   ip_flags nofrag
>   in_hw
>         action order 1: mirred (Egress Redirect to device eth1) stolen
>         index 1 ref 1 bind 1 installed 0 sec used 0 sec
>         Action statistics:
>         Sent 534884742 bytes 8915697 pkt (dropped 0, overlimits 0 requeues 0)
>         Sent software 187542 bytes 4077 pkt
>         Sent hardware 534697200 bytes 8911620 pkt
>         backlog 0b 0p requeues 0
>         cookie 89173e6a44447001becfd486bda17e29
> 
> 
> Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
> 
> ---
> v3:
>  * Resent as kernel side is now in
>  * Rebased on latest iproute2-next branch
> 
> v2:
>  * Removed unnecessary initialization
>  * Made not displaying of missing TCA_STATS_BASIC_HW more obvious
>  * Use _SL_ macro for single line output
> 
>  tc/tc_util.c |   41 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)

applied to iproute2-next. Thanks

      reply	other threads:[~2018-10-03  4:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-02  7:27 [PATCH iproute2/net-next v3] tc_util: Add support for showing TCA_STATS_BASIC_HW statistics Eelco Chaudron
2018-10-02 21:50 ` David Ahern [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e22873d-c03d-403c-3d7d-7b76a1259998@gmail.com \
    --to=dsahern@gmail.com \
    --cc=davem@davemloft.net \
    --cc=echaudro@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).