~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/scsi/cxgbi/libcxgbi.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        unsigned int rsvd_tag_mask;
132
132
        spinlock_t map_lock;
133
133
        struct cxgbi_gather_list **gl_map;
134
 
        struct sk_buff **gl_skb;
135
134
};
136
135
 
137
136
#define DDP_PGIDX_MAX           4
263
262
enum cxgbi_skcb_flags {
264
263
        SKCBF_TX_NEED_HDR,      /* packet needs a header */
265
264
        SKCBF_RX_COALESCED,     /* received whole pdu */
266
 
        SKCBF_RX_HDR,           /* recieved pdu header */
267
 
        SKCBF_RX_DATA,          /* recieved pdu payload */
268
 
        SKCBF_RX_STATUS,        /* recieved ddp status */
 
265
        SKCBF_RX_HDR,           /* received pdu header */
 
266
        SKCBF_RX_DATA,          /* received pdu payload */
 
267
        SKCBF_RX_STATUS,        /* received ddp status */
269
268
        SKCBF_RX_DATA_DDPD,     /* pdu payload ddp'd */
270
269
        SKCBF_RX_HCRC_ERR,      /* header digest error */
271
270
        SKCBF_RX_DCRC_ERR,      /* data digest error */
536
535
        struct cxgbi_ddp_info *ddp;
537
536
 
538
537
        void (*dev_ddp_cleanup)(struct cxgbi_device *);
539
 
        void (*csk_ddp_free_gl_skb)(struct cxgbi_ddp_info *, int, int);
540
 
        int (*csk_ddp_alloc_gl_skb)(struct cxgbi_ddp_info *, int, int, gfp_t);
541
538
        int (*csk_ddp_set)(struct cxgbi_sock *, struct cxgbi_pagepod_hdr *,
542
539
                                unsigned int, unsigned int,
543
540
                                struct cxgbi_gather_list *);
715
712
void cxgbi_get_conn_stats(struct iscsi_cls_conn *, struct iscsi_stats *);
716
713
int cxgbi_set_conn_param(struct iscsi_cls_conn *,
717
714
                        enum iscsi_param, char *, int);
718
 
int cxgbi_get_conn_param(struct iscsi_cls_conn *, enum iscsi_param, char *);
 
715
int cxgbi_get_ep_param(struct iscsi_endpoint *ep, enum iscsi_param, char *);
719
716
struct iscsi_cls_conn *cxgbi_create_conn(struct iscsi_cls_session *, u32);
720
717
int cxgbi_bind_conn(struct iscsi_cls_session *,
721
718
                        struct iscsi_cls_conn *, u64, int);