#define DRV_NAME …
#define DRV_VERSION …
#define pr_fmt(fmt) …
#include "cxgbit.h"
#ifdef CONFIG_CHELSIO_T4_DCB
#include <net/dcbevent.h>
#include "cxgb4_dcb.h"
#endif
LIST_HEAD(…);
DEFINE_MUTEX(…) …;
void _cxgbit_free_cdev(struct kref *kref)
{ … }
static void cxgbit_set_mdsl(struct cxgbit_device *cdev)
{ … }
static void *cxgbit_uld_add(const struct cxgb4_lld_info *lldi)
{ … }
static void cxgbit_close_conn(struct cxgbit_device *cdev)
{ … }
static void cxgbit_detach_cdev(struct cxgbit_device *cdev)
{ … }
static int cxgbit_uld_state_change(void *handle, enum cxgb4_state state)
{ … }
static void
cxgbit_process_ddpvld(struct cxgbit_sock *csk, struct cxgbit_lro_pdu_cb *pdu_cb,
u32 ddpvld)
{ … }
static void
cxgbit_lro_add_packet_rsp(struct sk_buff *skb, u8 op, const __be64 *rsp)
{ … }
static void
cxgbit_copy_frags(struct sk_buff *skb, const struct pkt_gl *gl,
unsigned int offset)
{ … }
static void
cxgbit_lro_add_packet_gl(struct sk_buff *skb, u8 op, const struct pkt_gl *gl)
{ … }
static struct sk_buff *
cxgbit_lro_init_skb(struct cxgbit_sock *csk, u8 op, const struct pkt_gl *gl,
const __be64 *rsp, struct napi_struct *napi)
{ … }
static void cxgbit_queue_lro_skb(struct cxgbit_sock *csk, struct sk_buff *skb)
{ … }
static void cxgbit_lro_flush(struct t4_lro_mgr *lro_mgr, struct sk_buff *skb)
{ … }
static void cxgbit_uld_lro_flush(struct t4_lro_mgr *lro_mgr)
{ … }
static int
cxgbit_lro_receive(struct cxgbit_sock *csk, u8 op, const __be64 *rsp,
const struct pkt_gl *gl, struct t4_lro_mgr *lro_mgr,
struct napi_struct *napi)
{ … }
static int
cxgbit_uld_lro_rx_handler(void *hndl, const __be64 *rsp,
const struct pkt_gl *gl, struct t4_lro_mgr *lro_mgr,
struct napi_struct *napi)
{ … }
#ifdef CONFIG_CHELSIO_T4_DCB
struct cxgbit_dcb_work { … };
static void
cxgbit_update_dcb_priority(struct cxgbit_device *cdev, u8 port_id,
u8 dcb_priority, u16 port_num)
{ … }
static void cxgbit_dcb_workfn(struct work_struct *work)
{ … }
static int
cxgbit_dcbevent_notify(struct notifier_block *nb, unsigned long action,
void *data)
{ … }
#endif
static enum target_prot_op cxgbit_get_sup_prot_ops(struct iscsit_conn *conn)
{ … }
static struct iscsit_transport cxgbit_transport = …;
static struct cxgb4_uld_info cxgbit_uld_info = …;
#ifdef CONFIG_CHELSIO_T4_DCB
static struct notifier_block cxgbit_dcbevent_nb = …;
#endif
static int __init cxgbit_init(void)
{ … }
static void __exit cxgbit_exit(void)
{ … }
module_init(…) …;
module_exit(cxgbit_exit);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_VERSION(…);
MODULE_LICENSE(…) …;