libcxgbi.h (31d1b7710262fba12282b24083f20dc76e0efc93) libcxgbi.h (9e8f1c79831424d30c0e3df068be7f4a244157c9)
1/*
2 * libcxgbi.h: Chelsio common library for T3/T4 iSCSI driver.
3 *
4 * Copyright (c) 2010-2015 Chelsio Communications, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.

--- 135 unchanged lines hidden (view full) ---

144 union {
145 struct sockaddr_in daddr;
146 struct sockaddr_in6 daddr6;
147 };
148 struct dst_entry *dst;
149 struct sk_buff_head receive_queue;
150 struct sk_buff_head write_queue;
151 struct timer_list retry_timer;
1/*
2 * libcxgbi.h: Chelsio common library for T3/T4 iSCSI driver.
3 *
4 * Copyright (c) 2010-2015 Chelsio Communications, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.

--- 135 unchanged lines hidden (view full) ---

144 union {
145 struct sockaddr_in daddr;
146 struct sockaddr_in6 daddr6;
147 };
148 struct dst_entry *dst;
149 struct sk_buff_head receive_queue;
150 struct sk_buff_head write_queue;
151 struct timer_list retry_timer;
152 struct completion cmpl;
152 int err;
153 rwlock_t callback_lock;
154 void *user_data;
155
156 u32 rcv_nxt;
157 u32 copied_seq;
158 u32 rcv_wup;
159 u32 snd_nxt;

--- 325 unchanged lines hidden (view full) ---

485 void (*dev_ddp_cleanup)(struct cxgbi_device *);
486 struct cxgbi_ppm* (*cdev2ppm)(struct cxgbi_device *);
487 int (*csk_ddp_set_map)(struct cxgbi_ppm *, struct cxgbi_sock *,
488 struct cxgbi_task_tag_info *);
489 void (*csk_ddp_clear_map)(struct cxgbi_device *cdev,
490 struct cxgbi_ppm *,
491 struct cxgbi_task_tag_info *);
492 int (*csk_ddp_setup_digest)(struct cxgbi_sock *,
153 int err;
154 rwlock_t callback_lock;
155 void *user_data;
156
157 u32 rcv_nxt;
158 u32 copied_seq;
159 u32 rcv_wup;
160 u32 snd_nxt;

--- 325 unchanged lines hidden (view full) ---

486 void (*dev_ddp_cleanup)(struct cxgbi_device *);
487 struct cxgbi_ppm* (*cdev2ppm)(struct cxgbi_device *);
488 int (*csk_ddp_set_map)(struct cxgbi_ppm *, struct cxgbi_sock *,
489 struct cxgbi_task_tag_info *);
490 void (*csk_ddp_clear_map)(struct cxgbi_device *cdev,
491 struct cxgbi_ppm *,
492 struct cxgbi_task_tag_info *);
493 int (*csk_ddp_setup_digest)(struct cxgbi_sock *,
493 unsigned int, int, int, int);
494 unsigned int, int, int);
494 int (*csk_ddp_setup_pgidx)(struct cxgbi_sock *,
495 int (*csk_ddp_setup_pgidx)(struct cxgbi_sock *,
495 unsigned int, int, bool);
496 unsigned int, int);
496
497 void (*csk_release_offload_resources)(struct cxgbi_sock *);
498 int (*csk_rx_pdu_ready)(struct cxgbi_sock *, struct sk_buff *);
499 u32 (*csk_send_rx_credits)(struct cxgbi_sock *, u32);
500 int (*csk_push_tx_frames)(struct cxgbi_sock *, int);
501 void (*csk_send_abort_req)(struct cxgbi_sock *);
502 void (*csk_send_close_req)(struct cxgbi_sock *);
503 int (*csk_alloc_cpls)(struct cxgbi_sock *);

--- 120 unchanged lines hidden ---
497
498 void (*csk_release_offload_resources)(struct cxgbi_sock *);
499 int (*csk_rx_pdu_ready)(struct cxgbi_sock *, struct sk_buff *);
500 u32 (*csk_send_rx_credits)(struct cxgbi_sock *, u32);
501 int (*csk_push_tx_frames)(struct cxgbi_sock *, int);
502 void (*csk_send_abort_req)(struct cxgbi_sock *);
503 void (*csk_send_close_req)(struct cxgbi_sock *);
504 int (*csk_alloc_cpls)(struct cxgbi_sock *);

--- 120 unchanged lines hidden ---