[Top] [All Lists]

Re: kmalloc/pci_alloc and skbuff's

To: Geoffrey Espin <>
Subject: Re: kmalloc/pci_alloc and skbuff's
From: Pete Popov <>
Date: 19 Dec 2001 14:06:23 -0800
Cc: linux-mips <>
In-reply-to: <>
References: <> <> <> <1008789145.31066.140.camel@zeus> <> <1008796988.31046.150.camel@zeus> <>
On Wed, 2001-12-19 at 13:56, Geoffrey Espin wrote:
> > > Can one include one's own arch/mips/korva/skbuff.c?
> > > But with network.o being a monolithic blob .o instead of a .a,
> I figured someone might have some magic for hacking
> arch/mips/Makefile ifdef CONFIG_NEC_KORVA (or any BSP/LSP).
> I guess I'll have to make the effort.  :-)
> > > Or will accept a patch for net/core/skbuff.c?
> > Up the the maintainer, but it's really not the right fix so I think it's
> > best for you or your customer to keep that patch locally.
> I talked Jun into checking in the Markham patches... but will
> have to add a comment to the pci_xxx files that one has to get
> a separate patch for net/core/skbuff.c if using PCI with a generic
> driver.
> > Another approach would be for you to preallocate your network buffers in
> > your driver, attach them permanently to the rx/tx descriptors, and then
> The idea was not to mess with any PCI drivers. 2.5 is not an option for me.

Sorry, that was a bad suggestion.  I was thinking of an ethernet driver
that's part of your SOC and requires a new ethernet driver anyway. 
Otherwise, messing with all the pci ethernet drivers is definitely not
an option.


<Prev in Thread] Current Thread [Next in Thread>