[PATCH] cxgb4i: add support for t5 adapter

2013-05-29 Thread kxie
[PATCH] cxgb4i: add support for T5 adapter From: Karen Xie Adds support for Chelsio T5 adapter. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 159 +--- 1 files changed, 128 insertions(+), 31 deletions(-) diff --git a/drivers/scsi/cxgbi/cxg

[PATCH] cxgb4i: Use cxgb4_select_ntuple to correctly calculate ntuple fields

2014-01-28 Thread kxie
[PATCH] cxgb4i: Use cxgb4_select_ntuple to correctly calculate ntuple fields From: Karen Xie Fixed calculates wrong tuple values on T5 adapter: switch to use the exported API cxgb4_select_ntuple() from cxgb4 base driver. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 59

[PATCH net 1/5] cxgb4i: fix tx credit calculation

2014-12-08 Thread kxie
[PATCH net 1/5] cxgb4i: fix tx credit calculation From: Karen Xie - Only data skbs need the wr header added while control skbs do not. Make sure they are treated differently. - Any credit related checking should be done before adding the wr header. - Fixed compiler warning resulted from added c

[PATCH net 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues

2014-12-08 Thread kxie
[PATCH net 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues From: Karen Xie use cxgb4's set_wr_txq() to set the tx queue for a outgoing packet. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-)

[PATCH net 5/5] libcxgbi: free skb after debug prints

2014-12-08 Thread kxie
[PATCH net 5/5] libcxgbi: free skb after debug prints From: Karen Xie The debug print was accessing the skb after it was freed. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/libcxgbi.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/cxgbi/libcxgbi.c

[PATCH net 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i

2014-12-08 Thread kxie
[PATCH net 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i This patch set fixes cxgb4i's tx credit calculation and adds handling of additional rx messages and types of negative advice. It also removes the duplicate code in cxgb4i to set the outgoing queues of a packet. Karen Xie (5): cxgb4i: check if

[PATCH net 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware

2014-12-08 Thread kxie
[PATCH net 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware. From: Karen Xie Programs the firmware of the maximum outgoing iscsi pdu length per connection. Signed-off-by: Karen Xie --- drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h |1 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c|

[PATCH net 3/5] cxgb4i: handle non-pdu-aligned rx and additional types of negative advice

2014-12-08 Thread kxie
[PATCH net 3/5] cxgb4i: handle non-pdu-aligned rx data and additional types of negative advice From: Karen Xie - abort the connection upon receiving of cpl_rx_data, which means the pdu cannot be recovered from the tcp stream. This could be due to pdu header corruption. - handle additional typ

[PATCH net v2 3/5] cxgb4i: handle non-pdu-aligned rx and additional types of negative advice

2014-12-08 Thread kxie
[PATCH net v2 3/5] cxgb4i: handle non-pdu-aligned rx data and additional types of negative advice From: Karen Xie - abort the connection upon receiving of cpl_rx_data, which means the pdu cannot be recovered from the tcp stream. This could be due to pdu header corruption. - handle additional

[PATCH net v2 5/5] libcxgbi: free skb after debug prints

2014-12-08 Thread kxie
[PATCH net v2 5/5] libcxgbi: free skb after debug prints From: Karen Xie The debug print was accessing the skb after it was freed. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/libcxgbi.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/cxgbi/libcxgbi

[PATCH net v2 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues

2014-12-08 Thread kxie
[PATCH net v2 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues From: Karen Xie use cxgb4's set_wr_txq() to set the tx queue for a outgoing packet. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions

[PATCH net v2 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware

2014-12-08 Thread kxie
[PATCH net v2 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware. From: Karen Xie Programs the firmware of the maximum outgoing iscsi pdu length per connection. Signed-off-by: Karen Xie --- drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h |1 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c

[PATCH net v2 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i

2014-12-08 Thread kxie
[PATCH net v2 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i This patch set fixes cxgb4i's tx credit calculation and adds handling of additional rx messages and types of negative advice. It also removes the duplicate code in cxgb4i to set the outgoing queues of a packet. Karen Xie (5): cxgb4i: check

[PATCH net v2 1/5] cxgb4i: fix tx credit calculation

2014-12-08 Thread kxie
[PATCH net v2 1/5] cxgb4i: fix tx credit calculation From: Karen Xie - Only data skbs need the wr header added while control skbs do not. Make sure they are treated differently. - Any credit related checking should be done before adding the wr header. - Fixed compiler warning resulted from adde