From: David Miller <davem@davemloft.net>
To: dborkman@redhat.com
Cc: netdev@vger.kernel.org, brouer@redhat.com, edumazet@google.com
Subject: Re: [PATCH net] pktgen: be friendly to LLTX devices
Date: Sat, 12 Apr 2014 02:01:27 -0400 (EDT) [thread overview]
Message-ID: <20140412.020127.389030105332580550.davem@davemloft.net> (raw)
In-Reply-To: <1397215320-1838-1-git-send-email-dborkman@redhat.com>
From: Daniel Borkmann <dborkman@redhat.com>
Date: Fri, 11 Apr 2014 13:22:00 +0200
> Similarly to commit 43279500deca ("packet: respect devices with
> LLTX flag in direct xmit"), we can basically apply the very same
> to pktgen. This will help testing against LLTX devices such as
> dummy driver (or others), which only have a single netdevice txq
> and would otherwise require locking their txq from pktgen side
> while e.g. in dummy case, we would not need any locking. Fix this
> by making use of HARD_TX_{UN,}LOCK API, so that NETIF_F_LLTX will
> be respected.
>
> Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Applied.
prev parent reply other threads:[~2014-04-12 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 11:22 [PATCH net] pktgen: be friendly to LLTX devices Daniel Borkmann
2014-04-12 6:01 ` David Miller [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=20140412.020127.389030105332580550.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=brouer@redhat.com \
--cc=dborkman@redhat.com \
--cc=edumazet@google.com \
--cc=netdev@vger.kernel.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).