diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2014-04-11 13:22:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-12 01:59:38 -0400 |
commit | 0f2eea4b7e29ab693b07f6eedf8e87a0c11b8b42 (patch) | |
tree | 0d1b66aac812f1e2fa01f0e311e66d48dd747442 /net/ceph/crypto.c | |
parent | 6871438cc4e5307ccda70fa2a246a546300ac9fa (diff) |
pktgen: be friendly to LLTX devices
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>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph/crypto.c')
0 files changed, 0 insertions, 0 deletions