/* * cxgb3i.h: Chelsio S3xx iSCSI driver. * * Copyright (c) 2008-2015 Chelsio Communications, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation. * * Written by: Karen Xie ([email protected]) */ #ifndef __CXGB3I_H__ #define __CXGB3I_H__ #define CXGB3I_SCSI_HOST_QDEPTH … #define CXGB3I_MAX_LUN … #define ISCSI_PDU_NONPAYLOAD_MAX … /*for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */ #define CXGB3I_TX_HEADER_LEN … extern cxgb3_cpl_handler_func cxgb3i_cpl_handlers[NUM_CPL_CMDS]; static inline unsigned int cxgb3i_get_private_ipv4addr(struct net_device *ndev) { … } static inline void cxgb3i_set_private_ipv4addr(struct net_device *ndev, unsigned int addr) { … } struct cpl_iscsi_hdr_norss { … }; struct cpl_rx_data_ddp_norss { … }; #endif