[PATCH 2.6.22 0/7] cxgb3 - bug fixes

2007-05-26 Thread Divy Le Ray
Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.22. The patches are built against Linus'git tree. Here is a brief description: - Fix page management in the SGE code, - Fix netpoll handler, - Fix link status detection for direct XAUI adapters, - Update FW to 4.1 and proceed to

Re: [PATCH 4/7] cxgb3 - Update FW to 4.1

2007-05-26 Thread Divy Le Ray
Michael Buesch wrote: On Sunday 27 May 2007 01:00:04 [EMAIL PROTECTED] wrote: From: Divy Le Ray [EMAIL PROTECTED] Bump FW version to 4.1. Modify chip tuning in consequence. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- @@ -2496,11 +2500,11 @@ static void __devinit init_mtus

Re: [PATCH 4/7 RESEND] cxgb3 - Update FW to 4.1

2007-05-29 Thread Divy Le Ray
Jeff Garzik wrote: [EMAIL PROTECTED] wrote: From: Divy Le Ray [EMAIL PROTECTED] Bump FW version to 4.1. Modify chip tuning in consequence. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h|4 drivers/net/cxgb3/t3_hw.c | 40

[PATCH 2.6.22 0/5]

2007-05-30 Thread Divy Le Ray
Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.22. The patches are built against Linus'git tree. Here is a brief description: - Fix skb-dev dereference in, - Fix netpoll handler, - Fix link status detection for direct XAUI adapters, - Work around potential hang on MTU change, -

Re: [PATCH 2.6.22 0/5] cxgb3 - bug fixes

2007-05-30 Thread Divy Le Ray
Divy Le Ray wrote: Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.22. The patches are built against Linus'git tree. The mail title was incomplete. sorry about that. Cheers, Divy - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message

Re: [PATCH 4/5] cxgb3 - Stop mac RX when changing MTU

2007-05-30 Thread Divy Le Ray
[EMAIL PROTECTED] wrote: From: Divy Le Ray [EMAIL PROTECTED] Rx traffic needs to be halted when the MTU is changed to avoid a potential chip hang. Reset/restore MAC filters around a MTU change. Also fix the pause frames high materwark setting. Signed-off-by: Divy Le Ray [EMAIL PROTECTED

[PATCH 4/5 RESEND] cxgb3 - Stop mac RX when changing MTU

2007-05-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Rx traffic needs to be halted when the MTU is changed to avoid a potential chip hang. Reset/restore MAC filters around a MTU change. Also fix the pause frames high materwark setting. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h

Re: [PATCH 1/7] cxgb3 - Fix SGE page management

2007-05-30 Thread Divy Le Ray
Jeff Garzik wrote: [EMAIL PROTECTED] wrote: From: Divy Le Ray [EMAIL PROTECTED] Streamline page management on RX. Fix dma mappings. NAK #2: You should use the page_address(page) accessor rather than creating a struct member in the same struct as your page, solely to contain the virtual

[PATCH 0/3] cxgb3 - Driver updates

2007-05-30 Thread Divy Le Ray
Hi Jeff, I'm submitting a patch series for inclusion in netdev#upstream. Here is a brief description: - update page management in the SGE code, - update FW to 4.1 and proceed to subsequent HW tuning, - allow microcode update without a power cycle. Cheers, Divy - To unsubscribe from this list:

[PATCH 1/3] cxgb3 - sge page management

2007-05-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Streamline sge page management. Fix dma mappings when buffers are recycled. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h | 38 ++-- drivers/net/cxgb3/sge.c | 423 ++- 2 files

[PATCH 2/3] cxgb3 - Firmware update

2007-05-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Update FW to 4.1. Proceed to subsequent HW tuning to improve RDMA perfs.. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h|4 drivers/net/cxgb3/t3_hw.c | 42 +++--- drivers/net

[PATCH 3/3] cxgb3 - TP SRAM update

2007-05-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] The chip executes microcode present in internal RAM, whose content is loaded from EEPROM on power cycle. This patch allows an update of the microcode through PIO without forcing a power cycle. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net

Re: [PATCH 2.6.22 0/5] cxgb3 - bug fixes

2007-06-05 Thread Divy Le Ray
Divy Le Ray wrote: Divy Le Ray wrote: Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.22. The patches are built against Linus'git tree. The mail title was incomplete. sorry about that. Cheers, Divy Hi Jeff, Did you get a chance to review the series I posted for driver

Re: Who's allowed to set a skb destructor?

2007-07-05 Thread Divy Le Ray
Andi Kleen wrote: Brice Goglin [EMAIL PROTECTED] writes: I am trying to understand whether I can setup a skb destructor in my code (which is basically a protocol above dev_queue_xmit() and co). From what I see in many parts in the current kernel code, the protocol (I mean, the one who

Re: [PATCH v3 00/13] 2.6.20 Chelsio T3 RDMA Driver

2006-12-11 Thread Divy Le Ray
Divy Le Ray wrote: Steve Wise wrote: On Sun, 2006-12-10 at 20:02 -0800, Roland Dreier wrote: I haven't seen any evidence of the corresponding ethernet NIC driver being merged for 2.6.20 (which is a prerequisite, right). What's the status of that? It is on its third or fourth round

[PATCH 6/10] cxgb3 - on board memory, MAC and PHY

2006-12-13 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements on board memory, MAC and PHY management for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/ael1002.c | 231 ++ drivers/net/cxgb3/mc5.c | 453

[PATCH 10/10] cxgb3 - build files and versioning

2006-12-13 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements build files and versioning for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/Kconfig | 18 ++ drivers/net/Makefile|1 + drivers/net/cxgb3

[PATCH 8/10] cxgb3 - offload capabilities

2006-12-13 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload capabilities of the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_offload.c | 1221 + drivers/net/cxgb3/l2t.c | 450

Re: [LIKELY_SPAM][PATCH 3/10] cxgb3 - [PATCH 3/10] cxgb3 - HW access routines - part 1

2006-12-13 Thread Divy Le Ray
I obviously managed to mess up the subject. The patch with proper subject is reposted. Divy From: Divy Le Ray [EMAIL PROTECTED] [PATCH 3/10] cxgb3 - HW access routines - part 1 This patch implements the HW access routines for the Chelsio T3 network adapter's driver. This patch is split

[PATCH 1/10] cxgb3 - main header files

2006-12-20 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the main header files of the Chelsio T3 network driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h | 255 drivers/net/cxgb3/common.h | 709

[PATCH 7/10] cxgb3 - offload header files

2006-12-20 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload operations header files for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_ctl_defs.h | 142 drivers/net/cxgb3/cxgb3_defs.h | 99 ++ drivers/net

[PATCH 9/10] cxgb3 - register definitions

2006-12-20 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the registers definitions for the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h | 2195 ++ 1 files changed, 2195 insertions(+), 0

[PATCH 8/10] cxgb3 - offload capabilities

2006-12-20 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload capabilities of the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_offload.c | 1222 + drivers/net/cxgb3/l2t.c | 450

[PATCH 6/10] cxgb3 - on board memory, MAC and PHY

2006-12-20 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements on board memory, MAC and PHY management for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/ael1002.c | 231 ++ drivers/net/cxgb3/mc5.c | 453

[PATCH 10/10] cxgb3 - build files and versioning

2006-12-20 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements build files and versioning for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/Kconfig | 18 ++ drivers/net/Makefile|1 + drivers/net/cxgb3

Re: [PATCH 4/10] cxgb3 - HW access routines - part 2

2006-12-20 Thread Divy Le Ray
Arjan van de Ven wrote: +void t3_port_intr_disable(struct adapter *adapter, int idx) +{ + struct cphy *phy = adap2pinfo(adapter, idx)-phy; + + t3_write_reg(adapter, XGM_REG(A_XGM_INT_ENABLE, idx), 0); + phy-ops-intr_disable(phy); you seem to be missing a pci posting

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-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

[PATCH 0/10] cxgb3: Chelsio T3 1G/10G ethernet device driver

2006-12-21 Thread Divy Le Ray
Jeff, I resubmit the patch supporting the latest Chelsio T3 adapter. It incorporates Arjan's feedbacks: - remove unnecessary ifdefs - updates the pci ressource managment - add flush after register write. It is built against Linus'tree. A corresponding monolithic patch is available at this URL:

[PATCH 1/10] cxgb3 - main header files

2006-12-21 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the main header files of the Chelsio T3 network driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h | 255 drivers/net/cxgb3/common.h | 709

[PATCH 10/10] cxgb3 - build files and versioning

2006-12-21 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements build files and versioning for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/Kconfig | 18 ++ drivers/net/Makefile|1 + drivers/net/cxgb3

[PATCH 6/10] cxgb3 - on board memory, MAC and PHY

2006-12-21 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements on board memory, MAC and PHY management for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/ael1002.c | 231 ++ drivers/net/cxgb3/mc5.c | 453

[PATCH 7/10] cxgb3 - offload header files

2006-12-21 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload operations header files for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_ctl_defs.h | 142 drivers/net/cxgb3/cxgb3_defs.h | 99 ++ drivers/net

[PATCH 8/10] cxgb3 - offload capabilities

2006-12-21 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload capabilities of the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_offload.c | 1222 + drivers/net/cxgb3/l2t.c | 450

[PATCH 9/10] cxgb3 - register definitions

2006-12-21 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the registers definitions for the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h | 2195 ++ 1 files changed, 2195 insertions(+), 0

Re: [PATCH 1/10] cxgb3 - main header files

2006-12-27 Thread Divy Le Ray
drivers/net/cxgb3/version.h build files and versioning Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 3/3] chelsio: more rx speedup

2007-01-09 Thread Divy Le Ray
Stephen Hemminger wrote: On Tue, 9 Jan 2007 09:42:03 +0100 Ingo Oeser [EMAIL PROTECTED] wrote: Hi Stephen, Stephen Hemminger schrieb: --- netdev-2.6.orig/drivers/net/chelsio/sge.c +++ netdev-2.6/drivers/net/chelsio/sge.c [...] @@ -1043,45 +1046,42 @@ static void

Re: [PATCH 1/10] cxgb3 - main header files

2007-01-09 Thread Divy Le Ray
Jeff Garzik wrote: Divy Le Ray wrote: From: Divy Le Ray [EMAIL PROTECTED] This patch implements the main header files of the Chelsio T3 network driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] Once you think it's ready, email me a URL to a single patch that adds the driver

[PATCH 0/10] cxgb3 - Chelsio T3 1G/10G driver updates

2007-01-30 Thread Divy Le Ray
Jeff, I'm sending a series of incremental patches updating the cxgb3 driver. These patches are built against netdev#upstream. Cheers, Divy - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 5/10] cxgb3 - Clean up HW init routine

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Clean up the tp_config() routine. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/t3_hw.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c index

[PATCH 2/10] cxgb3 - bind qsets on multiport adapter

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Inform FW about the queue set-interface mapping. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h|2 + drivers/net/cxgb3/cxgb3_main.c | 68 ++-- drivers/net/cxgb3/sge.c|8

[PATCH 7/10] cxgb3 - Remove BUG_ON from t3b_intr_napi

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] In some cases, SG_DATA_INTR won't clear on read and the following interrupt may cause us to assert because NAPI is already scheduled. Remove the assertion, NAPI can handle attempts to rearm it while it's already scheduled. Signed-off-by: Divy Le Ray [EMAIL

[PATCH 10/10] cxgb3 - Add dual licensing

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Dual licensing, needed for OFED 1.2 Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h | 33 +++ drivers/net/cxgb3/ael1002.c | 34 +++- drivers/net/cxgb3/common.h

[PATCH 8/10] cxgb3 - Unmap offload packets when they are freed.

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Offload packets may be DMAed long after their SGE Tx descriptors are done so they must remain mapped until they are freed rather than until their descriptors are freed. Unmap such packets through an skb destructor. Signed-off-by: Divy Le Ray [EMAIL PROTECTED

[PATCH 9/10] cxgb3 - Add linux/mutex.h

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Include linux/mutex.h in adapter.h Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index 8902007

[PATCH 1/10] cxgb3 - FW versioning

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Clean up FW version checking. The supported FW version is now 3.1. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_main.c | 15 --- drivers/net/cxgb3/firmware_exports.h | 27 +++ drivers

[PATCH 6/10] cxgb3 - white space to tabs

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Use tabs in comments. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/t3_hw.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c

[PATCH 3/10] cxgb3 - remove SW Tx credits coalescing

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Remove tx credit coalescing done in SW. The HW is caring care of it already. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/sge.c | 75 +-- 1 files changed, 14 insertions(+), 61 deletions

[PATCH 4/10] cxgb3 - bogus status error string

2007-01-30 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Remove a status error string from the pci-x context and add it where it belongs - the pci-e context. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/t3_hw.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH 8/10] cxgb3 - Unmap offload packets when they are freed.

2007-01-31 Thread Divy Le Ray
Jeff Garzik wrote: Divy Le Ray wrote: From: Divy Le Ray [EMAIL PROTECTED] Offload packets may be DMAed long after their SGE Tx descriptors are done so they must remain mapped until they are freed rather than until their descriptors are freed. Unmap such packets through an skb destructor

Re: [PATCH 1/10] cxgb3 - FW versioning

2007-01-31 Thread Divy Le Ray
Hi Jeff, Please see my replies in line. You need to submit a patch to remove the following ioctls: CHELSIO_SETREG: CHELSIO_GETREG: These will get removed. CHELSIO_SET_QSET_PARAMS: (use ethtool instead) CHELSIO_GET_QSET_PARAMS: (use ethtool instead) The T3 adapter supports multiple Tx/Rx

Re: [PATCH 10/10] cxgb3 - Add dual licensing

2007-02-02 Thread Divy Le Ray
Arjan van de Ven wrote: On Tue, 2007-01-30 at 19:44 -0800, Divy Le Ray wrote: Dual licensing, needed for OFED 1.2 Hi, did you get permission from all the people who contributed code to your driver ? Hi Arjan, The NIC driver was developed in Chelsio, the RDMA support was developed

[PATCH 0/10] cxgb3: Chelsio T3 1G/10G ethernet device driver

2006-11-17 Thread Divy Le Ray
Hi, Based on Arnd's feedback, I re-submit the patch supporting the latest Chelsio T3 adapter in inlined mails. Some header files were trimmed down to reduce the code footprint. This patch adds support for the latest Chelsio adapter, T3. It is built against 2.6.19-rc6. A corresponding

[PATCH 0/10] cxgb3: Chelsio T3 1G/10G ethernet device driver

2006-12-04 Thread Divy Le Ray
Hi, I resubmit the patch supporting the latest Chelsio T3 adapter. It incoporpates feedbacks from Stephen and Jan. This patch adds support for the latest Chelsio adapter, T3. It is built against 2.6.19. A corresponding monolithic patch against 2.6.19 is posted at the following URL:

[PATCH 8/10] cxgb3 - offload capabilities

2006-12-04 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload capabilities of the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_offload.c | 1219 + drivers/net/cxgb3/l2t.c | 445

[PATCH 7/10] cxgb3 - offload header files

2006-12-04 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload operations header files for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_ctl_defs.h | 142 drivers/net/cxgb3/cxgb3_defs.h | 99 ++ drivers/net

[PATCH 6/10] cxgb3 - on board memory, MAC and PHY

2006-12-04 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements on board memory, MAC and PHY management for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/ael1002.c | 231 ++ drivers/net/cxgb3/mc5.c | 456

[PATCH 9/10] cxgb3 - register definitions

2006-12-04 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the registers definitions for the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h | 2177 ++ 1 files changed, 2177 insertions(+), 0

[PATCH 10/10] cxgb3 - build files and versioning

2006-12-04 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements build files and versioning for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/Kconfig | 18 ++ drivers/net/Makefile|1 + drivers/net/cxgb3

[PATCH 1/10] cxgb3 - main header files

2006-12-04 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the main header files of the Chelsio T3 network driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h | 250 drivers/net/cxgb3/common.h | 704

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

[PATCH 1/10] cxgb3 - main header files

2006-12-07 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the main header files of the Chelsio T3 network driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h | 255 drivers/net/cxgb3/common.h | 710

[PATCH 0/10] cxgb3: Chelsio T3 1G/10G ethernet device driver

2006-12-07 Thread Divy Le Ray
Hi, I resubmit the patch supporting the latest Chelsio T3 adapter. It incorporates feedbacks from Stephen: - per port data accessed through netdev_priv() - remove locking in netpoll() method It also adapts to the new workqueue rules. This patch adds support for the latest Chelsio adapter, T3.

[PATCH 10/10] cxgb3 - build files and versioning

2006-12-07 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements build files and versioning for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/Kconfig | 18 ++ drivers/net/Makefile|1 + drivers/net/cxgb3

[PATCH 8/10] cxgb3 - offload capabilities

2006-12-07 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload capabilities of the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_offload.c | 1221 + drivers/net/cxgb3/l2t.c | 445

[PATCH 6/10] cxgb3 - on board memory, MAC and PHY

2006-12-07 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements on board memory, MAC and PHY management for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/ael1002.c | 231 ++ drivers/net/cxgb3/mc5.c | 456

[PATCH 7/10] cxgb3 - offload header files

2006-12-07 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the offload operations header files for the Chelsio T3 network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_ctl_defs.h | 142 drivers/net/cxgb3/cxgb3_defs.h | 99 ++ drivers/net

[PATCH 9/10] cxgb3 - register definitions

2006-12-07 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] This patch implements the registers definitions for the Chelsio network adapter's driver. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h | 2177 ++ 1 files changed, 2177 insertions(+), 0

[PATCH 2.6.21 0/4] cxgb3 - bug fixes

2007-03-31 Thread Divy Le Ray
Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.21. The patches are built against Linus'git tree. Here is a brief description: - Ensure that the on-board TCAM's active region size is always greater than 16 - the driver now recognizes NIC only adapters - tighten the MAC hang

[PATCH 2.6.21 0/3] cxgb3 - bug fixes

2007-04-09 Thread Divy Le Ray
Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.21. The patches are built against Linus'git tree. Here is a brief description: - Avoid deadlock when the interface is brought down - Rework the MAC hang workaround since it was failing if the peer interface was brought down - add

Re: [PATCH 2.6.21] iw_cxgb3 - Add set_tcb_rpl_handler.

2007-04-12 Thread Divy Le Ray
-by: Steve Wise [EMAIL PROTECTED] Acked-by: Divy Le Ray [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 2.6.21 0/3] cxgb3 - bug fixes

2007-04-17 Thread Divy Le Ray
Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.21. The patches are built against Linus'git tree. Here is a brief description: - Fix resource usage in low memory conditions, - PHY interrupts can use any GPIO pin. Cheers, Divy - To unsubscribe from this list: send the line

Re: [PATCH 2.6.22 5/5] iw_cxgb3: Update required firmware revision to 4.0.0.

2007-04-27 Thread Divy Le Ray
Roland Dreier wrote: Update required firmware revision to 4.0.0. Hmm... should we fold this into the earlier patch, which actually needs this new FW? Or at least merge this patch first? Also, is it cool with everyone to require a new FW, even for users who might not be using (or even

Re: [PATCH] cxgb3 - convert to user struct device instead of class_device

2007-02-08 Thread Divy Le Ray
Roland Dreier wrote: But I think Jeff already has a patch in the queue that makes this very change :) Really? I'm not sure I looked everywhere in Jeff's maze of git branches but I didn't see anything obvious in netdev-2.6.git when I looked before sending this. - R. I pushed a fix in

Re: [PATCH] chelsio: Fix non-NAPI compile

2007-02-21 Thread Divy Le Ray
Roland Dreier wrote: Chelsio without NAPI enabled has been broken (won't compile) since 3de00b89 (chelsio: NAPI speed improvement): drivers/net/chelsio/sge.c: In function `t1_interrupt`: drivers/net/chelsio/sge.c:1716: error: `Q` undeclared (first use in this function) The change

Re: [PATCH 0/7] cxgb3 - Chelsio T3 1G/10G driver updates

2007-02-22 Thread Divy Le Ray
Steve Wise wrote: Divy, Do these need to be pulled into OFED 1.2 as well? Hi Steve, Yes, I believe so. Cheers, Divy Steve. On Thu, 2007-02-22 at 03:58 -0800, Divy Le Ray wrote: Jeff, I'm sending a series of incremental patches updating the cxgb3 driver. These patches are built

[PATCH 0/7 RESEND] cxgb3 - Chelsio T3 1G/10G driver updates

2007-02-24 Thread Divy Le Ray
Hi Jeff, I'll be resending the series of incremental patches originally submitted on 02/22/07. The series take in account Yoshifuji's comments. Patch 2 - ioctl cleanup - is updated to secure backward compatibility. The ioctls are now explicitly numbered. Patch 6 is also updated with minor

Re: [PATCH 3/7] cxgb3 - FW version update

2007-02-25 Thread Divy Le Ray
Jeff Garzik wrote: Steve Wise wrote: I would rather fix the code to use constants, and thus avoid this problem ever happening again. Jeff How's this (not tested)? seems OK to me I tested it and resubmitted. Thanks fro the fix suggestion and the patch! Cheers, Divy - To

Re: [PATCH 7/7] cxgb3 - Add SW LRO support

2007-02-26 Thread Divy Le Ray
Christoph Hellwig wrote: On Sat, Feb 24, 2007 at 04:44:23PM -0800, [EMAIL PROTECTED] wrote: From: Divy Le Ray [EMAIL PROTECTED] Add all-in-sw lro support. Doing this in a LLDD doesn't sound like a good idea. Have you tried doing this in the core networking code instead? We have

[PATCH 2.6.21 0/4] cxgb3 - bug fixes

2007-03-18 Thread Divy Le Ray
Hi Jeff, I'm submitting a set of bug fixes for inclusion in 2.6.21. The patches are built against Linus'git tree. Here is a brief description: - ethtool -g/G should only apply to queue sets bound to the given port, - the driver will attempt to load the FW if it hits a version mismatch, -

Re: [PATCH 2.6.21 2/4] cxgb3 - Auto-load FW if mismatch detected

2007-03-21 Thread Divy Le Ray
Andrew Morton wrote: On Sun, 18 Mar 2007 13:10:06 -0700 [EMAIL PROTECTED] wrote: config CHELSIO_T3 tristate Chelsio Communications T3 10Gb Ethernet support depends on PCI + select FW_LOADER Something has gone wrong with the indenting there. The added

Re: [PATCH 2.6.21 3/4] cxgb3 - Fix potential MAC hang

2007-03-21 Thread Divy Le Ray
Andrew Morton wrote: On Sun, 18 Mar 2007 13:10:12 -0700 [EMAIL PROTECTED] wrote: From: Divy Le Ray [EMAIL PROTECTED] Under rare conditions, the MAC might hang while generating a pause frame. This patch fine tunes the MAC settings to avoid the issue, allows for periodic MAC state check

Re: [PATCH] [drivers/net/cxgb3] removed several unneeded zero initilization

2007-07-20 Thread Divy Le Ray
Denis Cheng wrote: Cc: [EMAIL PROTECTED] Signed-off-by: Denis Cheng [EMAIL PROTECTED] Acked-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_main.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3

Re: [2.6 patch] drivers/net/cxgb3/xgmac.c: remove dead code

2007-07-31 Thread Divy Le Ray
Adrian Bunk wrote: This patch removes dead code (tx_xcnt can never be != 0 at this place) spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/xgmac.c |5 + 1 file changed, 1 insertion(+), 4

[PATCH 1/13] cxgb3 - MAC workaround update

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Update the MAC workaround to deal with switches that do not honor pause frames. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/common.h |1 + drivers/net/cxgb3/xgmac.c | 22 +++--- 2 files changed, 12 insertions

[PATCH 2/13] cxgb3 - Update rx coalescing length

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Set max Rx coalescing length to 12288 Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index c46c249

[PATCH 3/13] cxgb3 - SGE doorbell overflow warning

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Log doorbell Fifo overflow Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h |8 drivers/net/cxgb3/sge.c |4 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/regs.h b/drivers/net

[PATCH 4/13] cxgb3 - use immediate data for offload Tx

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Send small TX_DATA work requests as immediate data even when there are fragments. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/sge.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/net

[PATCH 5/13] cxgb3 - Expose HW memory page info

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Let the RDMA driver get HW page info to work around HW issues. Assign explicit enum values. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_ctl_defs.h | 52 +--- drivers/net/cxgb3/cxgb3_offload.c

[PATCH 7/13] cxgb3 - Fatal error update

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Stop the MAC when a fatal error is detected. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_main.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3

[PATCH 8/13] cxgb3 - log adapter derial number

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Log HW serial number when cxgb3 module is loaded. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/common.h |2 ++ drivers/net/cxgb3/cxgb3_main.c |6 -- drivers/net/cxgb3/t3_hw.c |3 ++- 3 files changed, 8

[PATCH 9/13] cxgb3 - Update internal memory management

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Set PM1 internal memory to round robin mode Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h |2 ++ drivers/net/cxgb3/t3_hw.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/regs.h b

[PATCH 10/13] cxgb3 - engine microcode update

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Load microcode engine when the interface is configured up. Bump up version to 1.1.0. Allow the driver to be and running with older microcode images. Allow ethtool to log the microcode version. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net

[PATCH 6/13] cxgb3 - tighten checks on TID values

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Enforce validity checks on connection ids Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_defs.h| 20 ++-- drivers/net/cxgb3/cxgb3_offload.c | 28 +++- 2 files changed, 41 insertions

[PATCH 13/13] cxgb3 - test MSI capabilities

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Check that the HW in really in MSI/MSI-X mode when it was succesfully enabled. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_main.c | 42 drivers/net/cxgb3/regs.h |4 2

[PATCH 12/13] cxgb3 - log and clear PEX errors

2007-08-11 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Clear pciE PEX errors late at module load time. Log details when PEX errors occur. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/t3_hw.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3

[PATCH 2.6.23] cxgb3 - Fix dev-priv usage

2007-08-13 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] cxgb3 used netdev_priv() and dev-priv for different purposes. In 2.6.23, netdev_priv() == dev-priv, cxgb3 needs a fix. This patch is a partial backport of Dave Miller's changes in the net-2.6.24 git branch. Signed-off-by: Divy Le Ray [EMAIL PROTECTED

Re: [PATCH 2/13] cxgb3 - Update rx coalescing length

2007-08-14 Thread Divy Le Ray
Jeff Garzik wrote: Divy Le Ray wrote: From: Divy Le Ray [EMAIL PROTECTED] Set max Rx coalescing length to 12288 Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/cxgb3

Re: [PATCH 4/13] cxgb3 - use immediate data for offload Tx

2007-08-14 Thread Divy Le Ray
Jeff Garzik wrote: Divy Le Ray wrote: From: Divy Le Ray [EMAIL PROTECTED] Send small TX_DATA work requests as immediate data even when there are fragments. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/sge.c | 17 +++-- 1 files changed, 11

Re: [PATCH 5/13] cxgb3 - Expose HW memory page info

2007-08-14 Thread Divy Le Ray
Jeff Garzik wrote: Divy Le Ray wrote: From: Divy Le Ray [EMAIL PROTECTED] Let the RDMA driver get HW page info to work around HW issues. Assign explicit enum values. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] HW issues -- you need to go into far more detail, when adding a new interface

  1   2   >