From: Ben Greear <greearb@candelatech.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: hadi@cyberus.ca, netdev@oss.sgi.com
Subject: Re: RFC: Redirect-Device
Date: Thu, 31 Mar 2005 14:54:14 -0800 [thread overview]
Message-ID: <424C7F96.4070002@candelatech.com> (raw)
In-Reply-To: <20050331143531.30f4eb8f.davem@davemloft.net>
David S. Miller wrote:
> On Thu, 31 Mar 2005 14:22:11 -0800
> Ben Greear <greearb@candelatech.com> wrote:
>
>
>>>[root@jzny root]# tc
>>>Usage: tc [ OPTIONS ] OBJECT { COMMAND | help }
>>>where OBJECT := { qdisc | class | filter }
>>> OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -b[atch] file
>>>}
>>
>>My personal opinion is that netlink sockets are a pain in the ass to deal
>>with, and there is no way I want to try to programatically parse the tc
>>input or output.
>>
>>And probably not so easy to manipulate from a kernel module.
>>
>>And BNF cannot be more powerful than a c/c++ program with a byte-buffer
>>representing the entire ethernet frame.
>
>
> So you're not even going to give Jamal's suggestion a try?
No. I can't imagine a way to make it work with my application.
I don't think I can overstate the benefits I see from having
net_devices and their attending standard interfaces
to utilize in both kernel and user-space.
> If we have the infrastructure to do what you want, we should use it,
> not add "yet another way" to do something we can do already.
>
> If adding some clean abstraction layer helps out your cause, that's
> fine too. We could even hack tc to output things in a format that
> you might find easier to parse.
>
> 'tc' is very powerful, and very shamefully under-utilizied. You're task
> seems the perfect match for it's use.
I obviously can't force you to accept the redirect module, so
if no one else sees any reason for it, then we can simply
drop the matter and I'll carry it in my own patch set like
I do my other stuff. No hard feelings, and if someone decides
they could use something like it in the future, then perhaps
we can take another look at it.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2005-03-31 22:54 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 20:41 RFC: Redirect-Device Ben Greear
2005-03-31 21:02 ` David S. Miller
2005-03-31 21:05 ` Stephen Hemminger
2005-03-31 21:45 ` Ben Greear
2005-03-31 21:52 ` David S. Miller
2005-03-31 22:04 ` Ben Greear
2005-03-31 22:21 ` David S. Miller
2005-03-31 22:05 ` Stephen Hemminger
2005-03-31 22:26 ` Ben Greear
2005-03-31 22:33 ` David S. Miller
2005-03-31 22:42 ` Ben Greear
2005-03-31 22:43 ` David S. Miller
2005-03-31 21:13 ` jamal
2005-03-31 21:26 ` Ben Greear
2005-03-31 21:53 ` jamal
2005-03-31 22:22 ` Ben Greear
2005-03-31 22:35 ` David S. Miller
2005-03-31 22:54 ` Ben Greear [this message]
2005-03-31 23:26 ` jamal
2005-03-31 23:56 ` Ben Greear
2005-04-01 0:53 ` jamal
2005-04-01 9:01 ` bert hubert
2005-04-01 16:58 ` Ben Greear
2005-03-31 22:46 ` Thomas Graf
2005-03-31 23:00 ` Ben Greear
2005-03-31 23:20 ` jamal
2005-03-31 23:35 ` Ben Greear
2005-03-31 23:46 ` jamal
2005-04-02 8:41 ` Meelis Roos
2005-04-02 21:08 ` jamal
2005-04-01 5:03 ` Pekka Savola
2005-04-01 5:27 ` Ben Greear
2005-04-01 9:28 ` Pekka Savola
2005-04-01 16:29 ` Ben Greear
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=424C7F96.4070002@candelatech.com \
--to=greearb@candelatech.com \
--cc=davem@davemloft.net \
--cc=hadi@cyberus.ca \
--cc=netdev@oss.sgi.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).