netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: swise@opengridcomputing.com
Cc: greearb@candelatech.com, hadi@cyberus.ca, johnpol@2ka.mipt.ru,
	netdev@vger.kernel.org, Robert.Olsson@data.slu.se
Subject: Re: pktgen question
Date: Mon, 24 Sep 2007 10:40:16 -0700 (PDT)	[thread overview]
Message-ID: <20070924.104016.74732763.davem@davemloft.net> (raw)
In-Reply-To: <46F7C185.1030202@opengridcomputing.com>

From: Steve Wise <swise@opengridcomputing.com>
Date: Mon, 24 Sep 2007 08:54:13 -0500

> I think pktgen should be cloning the skbs using skb_clone().  Then it 
> will work for all devices, eh?

The problem is that skb_clone() is (relatively) expensive and
pktgen is trying to just grab a reference to the SKB in
the absolutely cheapest way possible.

In my personal opinion, I think what the drivers that don't
work with pktgen are doing is wrong and they should find
another way to pass state around other than to depend upon
being able to use the ->cb[] area at-will.

      parent reply	other threads:[~2007-09-24 17:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-23 16:12 pktgen question Steve Wise
2007-09-23 17:28 ` Evgeniy Polyakov
2007-09-23 17:55   ` Steve Wise
2007-09-23 18:18     ` jamal
2007-09-24  6:30       ` Ben Greear
2007-09-24 13:54         ` Steve Wise
2007-09-24 14:39           ` Ben Greear
2007-09-24 15:00             ` Steve Wise
2007-09-24 15:37               ` Ben Greear
2007-09-24 18:02                 ` Rick Jones
2007-09-24 18:22                   ` Ben Greear
2007-10-08 21:43                     ` Steve Wise
2007-10-08 21:57                       ` Ben Greear
2007-10-08 22:22                         ` David Miller
2007-10-08 22:46                           ` Steve Wise
2007-10-08 22:54                             ` David Miller
2007-09-24 15:42           ` Robert Olsson
2007-09-24 17:40           ` 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=20070924.104016.74732763.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=Robert.Olsson@data.slu.se \
    --cc=greearb@candelatech.com \
    --cc=hadi@cyberus.ca \
    --cc=johnpol@2ka.mipt.ru \
    --cc=netdev@vger.kernel.org \
    --cc=swise@opengridcomputing.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 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).