Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-28 Thread Jeff Garzik
Marc St-Jean wrote: Jeff Garzik wrote: Marc St-Jean wrote: > + res = platform_get_resource(pldev, IORESOURCE_MEM, 0); > + if (!res) { > + printk(KERN_ERR "MSPETH(probe) %s: " > + "IOMEM resource not found for eth%d\n", > + dev->nam

Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-28 Thread Marc St-Jean
St-Jean wrote: > > [PATCH 10/12] drivers: PMC MSP71xx ethernet driver > > > > Patch to add an ethernet driver for the PMC-Sierra MSP71xx devices. > > > > Patches 1 through 9 were posted to [EMAIL PROTECTED] as well > > as other sub-system lists/maintainers as appropri

Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-24 Thread Marc St-Jean
Jeff Garzik wrote: > Marc St-Jean wrote: > > I asked if the remaining section (above) was acceptable so we could > retain our > > buffer recycling which enhances throughput. I never received a rely > so it was > > left in my last patch. > > > > The above comment now answers my part of my in

Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-24 Thread Jeff Garzik
Marc St-Jean wrote: I asked if the remaining section (above) was acceptable so we could retain our buffer recycling which enhances throughput. I never received a rely so it was left in my last patch. The above comment now answers my part of my initial question. Are you aware of a better way to i

Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-24 Thread Marc St-Jean
Jeff Garzik wrote: > Marc St-Jean wrote: > > +inline static void > > +mspeth_skb_headerinit(struct sk_buff *skb) > > +{ > > + /* these are essential before init */ > > + dst_release(skb->dst); > > +#ifdef CONFIG_XFRM > > + secpath_put(skb->sp); > > +#endif > > +#ifdef CONFIG_NE

Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-24 Thread Jeff Garzik
Marc St-Jean wrote: +inline static void +mspeth_skb_headerinit(struct sk_buff *skb) +{ + /* these are essential before init */ + dst_release(skb->dst); +#ifdef CONFIG_XFRM + secpath_put(skb->sp); +#endif +#ifdef CONFIG_NETFILTER + nf_conntrack_put(skb->nfct); +#if defined(

Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-09 Thread Marc St-Jean
Thanks for the feedback Jeff. I have made all modifications but I have one question regarding the SKB recycling. Removing the backwards compatibility for the linux 2.4 eliminated the badness in mspeth_skb_headerinit(). However there is still some SKB code in mspeth_alloc_skb(). You didn't specific

Re: [PATCH 10/12] drivers: PMC MSP71xx ethernet driver

2007-05-07 Thread Jeff Garzik
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) +#include +#include +#include +#include +#include +#include +#include +#include +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) +#include +#include +#include +#include +#include +#include +#endif /* LINUX_VERSION_CODE */ + +#include