Commit e27d6169 authored by kxie@chelsio.com's avatar kxie@chelsio.com Committed by James Bottomley

[SCSI] cxgb4i: connection and ddp setting update

Update cxgb4i connection setting and pagepod programming.
Signed-off-by: default avatarKaren Xie <kxie@chelsio.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 0b3d8947
This diff is collapsed.
......@@ -23,6 +23,11 @@
#define CXGB4I_TX_HEADER_LEN \
(sizeof(struct fw_ofld_tx_data_wr) + sizeof(struct sge_opaque_hdr))
struct ulptx_idata {
__be32 cmd_more;
__be32 len;
};
struct cpl_rx_data_ddp {
union opcode_tid ot;
__be16 urg;
......
......@@ -162,16 +162,6 @@ struct cxgbi_ddp_info {
#define PPOD_VALID(x) ((x) << PPOD_VALID_SHIFT)
#define PPOD_VALID_FLAG PPOD_VALID(1U)
#define W_TCB_ULP_TYPE 0
#define TCB_ULP_TYPE_SHIFT 0
#define TCB_ULP_TYPE_MASK 0xfULL
#define TCB_ULP_TYPE(x) ((x) << TCB_ULP_TYPE_SHIFT)
#define W_TCB_ULP_RAW 0
#define TCB_ULP_RAW_SHIFT 4
#define TCB_ULP_RAW_MASK 0xffULL
#define TCB_ULP_RAW(x) ((x) << TCB_ULP_RAW_SHIFT)
/*
* sge_opaque_hdr -
* Opaque version of structure the SGE stores at skb->head of TX_DATA packets
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment