Re: [PATCH 2/10] cxgb3 - main source file

2006-12-22 Thread Arjan van de Ven
Using request_firmware assumes that the driver knows the FW file name no it knows an ALIAS for it. and the driver initiates the load. That's not our model where we work with different FWs, don't know what the names are, you can have the user make a symlink to the one he wants. No Big Deal.

Re: [PATCH 2/10] cxgb3 - main source file

2006-12-21 Thread Arjan van de Ven
They are used to parameter the HW: register access, ethtool supports that, so shouldn't be an ioctl for sure configuration of queue sets, on board memory configuration, I'm sure ethtool can do that too firmware load, etc ... and for this we have request_firmware() interface. adding

Re: [PATCH 2/10] cxgb3 - main source file

2006-12-21 Thread Divy Le Ray
Arjan van de Ven wrote: They are used to parameter the HW: register access, ethtool supports that, so shouldn't be an ioctl for sure configuration of queue sets, on board memory configuration, I'm sure ethtool can do that too firmware load, etc ... and for this we have

Re: [PATCH 2/10] cxgb3 - main source file

2006-12-20 Thread Arjan van de Ven
+/* + * Interrupt handler for asynchronous events used with MSI-X. + */ +static irqreturn_t t3_async_intr_handler(int irq, void *cookie) +{ + t3_slow_intr_handler(cookie); + return IRQ_HANDLED; +} this looks very wrong; why is t3_slow_intr_handler a void rather than returning

Re: [PATCH 2/10] cxgb3 - main source file

2006-12-20 Thread Divy Le Ray
Arjan, Thanks for the review. Please see my replies inline. Arjan van de Ven wrote: +/* + * Interrupt handler for asynchronous events used with MSI-X. + */ +static irqreturn_t t3_async_intr_handler(int irq, void *cookie) +{ + t3_slow_intr_handler(cookie); + return IRQ_HANDLED; +}

Re: [PATCH 2/10] cxgb3 - main source file

2006-12-05 Thread Divy Le Ray
Stephen, Thanks for the review. Please see my replies inline. Stephen Hemminger wrote: O + * If we have multiple receive queues per port serviced by NAPI we need one + * netdevice per queue as NAPI operates on netdevices. We already have one + * netdevice, namely the one associated with

Re: [PATCH 2/10] cxgb3 - main source file

2006-12-04 Thread Stephen Hemminger
O + * If we have multiple receive queues per port serviced by NAPI we need one + * netdevice per queue as NAPI operates on netdevices. We already have one + * netdevice, namely the one associated with the interface, so we use dummy + * ones for any additional queues. Note that these