mbox series

[RESEND,iproute2-next,0/2] Implement filter terse dump mode support

Message ID 20200930073651.31247-1-vladbu@nvidia.com
Headers show
Series Implement filter terse dump mode support | expand

Message

Vlad Buslov Sept. 30, 2020, 7:36 a.m. UTC
Implement support for terse dump mode which provides only essential
classifier/action info (handle, stats, cookie, etc.). Use new
TCA_DUMP_FLAGS_TERSE flag to prevent copying of unnecessary data from
kernel.

Vlad Buslov (2):
  tc: skip actions that don't have options attribute when printing
  tc: implement support for terse dump

 tc/m_bpf.c        |  2 +-
 tc/m_connmark.c   |  2 +-
 tc/m_csum.c       |  2 +-
 tc/m_ct.c         |  2 +-
 tc/m_ctinfo.c     |  2 +-
 tc/m_gact.c       |  2 +-
 tc/m_ife.c        |  2 +-
 tc/m_ipt.c        |  2 +-
 tc/m_mirred.c     |  2 +-
 tc/m_mpls.c       |  2 +-
 tc/m_nat.c        |  2 +-
 tc/m_pedit.c      |  2 +-
 tc/m_sample.c     |  2 +-
 tc/m_simple.c     |  2 +-
 tc/m_skbedit.c    |  2 +-
 tc/m_skbmod.c     |  2 +-
 tc/m_tunnel_key.c |  2 +-
 tc/m_vlan.c       |  2 +-
 tc/m_xt.c         |  2 +-
 tc/m_xt_old.c     |  2 +-
 tc/tc_filter.c    | 12 ++++++++++++
 21 files changed, 32 insertions(+), 20 deletions(-)

Comments

Ivan Vecera Sept. 30, 2020, 11:31 a.m. UTC | #1
On Wed, 30 Sep 2020 10:36:49 +0300
Vlad Buslov <vladbu@nvidia.com> wrote:

> Implement support for terse dump mode which provides only essential
> classifier/action info (handle, stats, cookie, etc.). Use new
> TCA_DUMP_FLAGS_TERSE flag to prevent copying of unnecessary data from
> kernel.
> 
> Vlad Buslov (2):
>   tc: skip actions that don't have options attribute when printing
>   tc: implement support for terse dump
> 
>  tc/m_bpf.c        |  2 +-
>  tc/m_connmark.c   |  2 +-
>  tc/m_csum.c       |  2 +-
>  tc/m_ct.c         |  2 +-
>  tc/m_ctinfo.c     |  2 +-
>  tc/m_gact.c       |  2 +-
>  tc/m_ife.c        |  2 +-
>  tc/m_ipt.c        |  2 +-
>  tc/m_mirred.c     |  2 +-
>  tc/m_mpls.c       |  2 +-
>  tc/m_nat.c        |  2 +-
>  tc/m_pedit.c      |  2 +-
>  tc/m_sample.c     |  2 +-
>  tc/m_simple.c     |  2 +-
>  tc/m_skbedit.c    |  2 +-
>  tc/m_skbmod.c     |  2 +-
>  tc/m_tunnel_key.c |  2 +-
>  tc/m_vlan.c       |  2 +-
>  tc/m_xt.c         |  2 +-
>  tc/m_xt_old.c     |  2 +-
>  tc/tc_filter.c    | 12 ++++++++++++
>  21 files changed, 32 insertions(+), 20 deletions(-)
> 

Tested-by: Ivan Vecera <ivecera@redhat.com>