 |
|
 |
|
Next: [gentoo-user] emerge and running tests as non-roo..
|
| Author |
Message |
External

Since: Jul 17, 2009 Posts: 1
|
(Msg. 1) Posted: Fri Jul 17, 2009 6:51 pm
Post subject: universal Ethernet driver development Archived from groups: comp>os>linux>development>system (more info?)
|
|
|
Hi guys
I am planning to build universal device driver for Ethernet
controller . It can work for any type of hardware
I want to make general framework for the driver and it is
configurable or we make a table depend on futures exist in particular
vender chip in particular version
It may be replace all drivers in the Linux kernel tree and only one
Ethernet driver it is easy to understand and it is easy to add new
future or new chip into this driver and its more efficient
Because we are going to implement driver which works 10Mbps to 10Gbps
so this architecture gives us very efficient and very less effort
because everyone working on different driver instead of one driver
I think you guys understand what I have planned right ? then please
share your experience with me
Is it right thing to do ?
Is it acceptable in Linux tree ?
If you have any plan where to start and how to start?
And other then here may I need ask any help from other place
Like Linux kernel mailing list linux-net,netdev because I am new
to this mailing list I am not worked before as open source contributor
Regards
Prabhakar pujeri |
|
| Back to top |
|
 |  |
External

Since: Nov 02, 2008 Posts: 108
|
(Msg. 2) Posted: Sat Jul 18, 2009 5:20 am
Post subject: Re: universal Ethernet driver development [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
pra <prabhakar.pujeri DeleteThis @gmail.com> wrote:
> I am planning to build universal device driver for Ethernet
> controller . It can work for any type of hardware
Huh! I have just replied to this in comp.os.linux.networking
Mark.
--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/ |
|
| Back to top |
|
 |  |
External

Since: Apr 25, 2007 Posts: 134
|
(Msg. 3) Posted: Sun Jul 19, 2009 2:44 am
Post subject: Re: universal Ethernet driver development [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Jul 17, 6:51 pm, pra <prabhakar.puj....RemoveThis@gmail.com> wrote:
> I want to make general framework for the driver and it is
> configurable or we make a table depend on futures exist in particular
> vender chip in particular version
> It may be replace all drivers in the Linux kernel tree and only one
> Ethernet driver it is easy to understand and it is easy to add new
> future or new chip into this driver and its more efficient
> Because we are going to implement driver which works 10Mbps to 10Gbps
> so this architecture gives us very efficient and very less effort
> because everyone working on different driver instead of one driver
Sorry to state the obvious, but that makes no sense. You will either
have to optimize your drive individually for every chip or not
optimize it. Neither way makes any sense.
> I think you guys understand what I have planned right ? then please
> share your experience with me
>
> Is it right thing to do ?
No. In fact, it makes no sense at all. The driver would have to be
able to handle every possible quirk and layout of every network
controller, past, present, and future. That would be a horribly awful
beast, not optimized for anything, and impossible to debug.
If you needed to add a workaround for a quirk in a particular
controller, you'd need to figure out if that workaround was suitable
for every other controller ever made. To test a major design change or
improvement, you'd need every controller the driver was used on.
It's an absolutely terribly awful idea in every possible way.
> Is it acceptable in Linux tree ?
Sure, if you can make it work. But that will never happen.
> If you have any plan where to start and how to start?
I would suggest starting by thinking of an idea that makes some kind
of sense.
DS |
|
| Back to top |
|
 |  |
External

Since: Apr 02, 2007 Posts: 158
|
(Msg. 4) Posted: Mon Jul 20, 2009 9:20 am
Post subject: Re: universal Ethernet driver development [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
David Schwartz <davids RemoveThis @webmaster.com> writes:
> On Jul 17, 6:51 pm, pra <prabhakar.puj... RemoveThis @gmail.com> wrote:
>> I want to make general framework for the driver and it is
>> configurable or we make a table depend on futures exist in particular
>> vender chip in particular version
>> It may be replace all drivers in the Linux kernel tree and only one
>> Ethernet driver it is easy to understand and it is easy to add new
>> future or new chip into this driver
[...]
>> I think you guys understand what I have planned right ? then please
>> share your experience with me
>>
>> Is it right thing to do ?
>
> No. In fact, it makes no sense at all. The driver would have to be
> able to handle every possible quirk and layout of every network
> controller, past, present, and future. That would be a horribly awful
> beast, not optimized for anything, and impossible to debug.
>
> If you needed to add a workaround for a quirk in a particular
> controller, you'd need to figure out if that workaround was suitable
> for every other controller ever made. To test a major design change or
> improvement, you'd need every controller the driver was used on.
>
> It's an absolutely terribly awful idea in every possible way.
Having written a few network drivers for different hardware, I'd like
to explicitly second that: Capabilities (and bugs!) of NIC-hardware
vary wildly and a 'generic ethernet driver' required to handle
hundreds, if not thousands, of special cases in its lower level parts
would be an unwieldy monstrosity I would certainly rather steer clear
off. An IMO somewhat more sensible idea would be to abstract common
parts of existing ethernet drivers into an ethernet driver support
library. But even this would be something I'd consider of very limited
usefulness: Typically, computers don't have many different types of
NICs at the same time and duplicated code which has never been
compiled or just sits on one of nowadays disk drives matters very
little, if at all. But the additional abstraction makes all of the
drivers using it somewhat more complex and more difficult to
understand. |
|
| Back to top |
|
 |  |
External

Since: Jul 14, 2009 Posts: 3
|
(Msg. 5) Posted: Mon Jul 20, 2009 9:57 am
Post subject: Re: universal Ethernet driver development [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 2009-07-18, pra <prabhakar.pujeri DeleteThis @gmail.com> wrote:
> I am planning to build universal device driver for Ethernet
> controller . It can work for any type of hardware
Dude, you need to have your medication adjusted.
That's about like declaring that you're planning on writing the
"universal program" that will work for all kinds of people
doing all sorts of applications on all OSes.
--
Grant Edwards grante Yow! I have a very good
at DENTAL PLAN. Thank you.
visi.com |
|
| Back to top |
|
 |  |
| Related Topics: | RFC3971 - Does anyone know if RFC3971 support is being developed for Linux? It does not seem to be implemented in the mainline..
Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....
Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....
Access shared memory from kernel module - Hi All, I wanted to know if shared memory created in user space can be accessed from a loadable kernel module. Have no...
Controlling UART transmission of bytes - I'm programming an ARM's UART that comes with a library implementing the standard unix termios interface. Regarding..
[PATCH] Blackfin ethernet driver: on chip ethernet MAC con.. - From: "Wu, Bryan" <bryan.wu@analog.com> This patch implements the driver necessary use the Analog Devi... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|