All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, toshiaki.makita1@gmail.com,
	brouer@redhat.com, dsahern@gmail.com,
	lorenzo.bianconi@redhat.com, toke@redhat.com
Subject: [PATCH v2 net-next 0/2] move ndo_xdp_xmit stats to peer veth_rq
Date: Thu, 26 Mar 2020 23:10:18 +0100	[thread overview]
Message-ID: <cover.1585260407.git.lorenzo@kernel.org> (raw)

Move ndo_xdp_xmit ethtool stats accounting to peer veth_rq.
Move XDP_TX accounting to veth_xdp_flush_bq routine.

Changes since v1:
- rename xdp_xmit[_err] counters to peer_tq_xdp_xmit[_err]

Lorenzo Bianconi (2):
  veth: rely on veth_rq in veth_xdp_flush_bq signature
  veth: rely on peer veth_rq for ndo_xdp_xmit accounting

 drivers/net/veth.c | 159 +++++++++++++++++++++++++++------------------
 1 file changed, 97 insertions(+), 62 deletions(-)

-- 
2.25.1


             reply	other threads:[~2020-03-26 22:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 22:10 Lorenzo Bianconi [this message]
2020-03-26 22:10 ` [PATCH v2 net-next 1/2] veth: rely on veth_rq in veth_xdp_flush_bq signature Lorenzo Bianconi
2020-03-26 22:10 ` [PATCH v2 net-next 2/2] veth: rely on peer veth_rq for ndo_xdp_xmit accounting Lorenzo Bianconi
2020-03-27  2:30   ` Toshiaki Makita
2020-03-27  2:35 ` [PATCH v2 net-next 0/2] move ndo_xdp_xmit stats to peer veth_rq David Miller

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=cover.1585260407.git.lorenzo@kernel.org \
    --to=lorenzo@kernel.org \
    --cc=brouer@redhat.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@gmail.com \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=toke@redhat.com \
    --cc=toshiaki.makita1@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.