/* * 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 (kxie@chelsio.com) */ #ifndef __CXGB3I_H__ #define __CXGB3I_H__ #define CXGB3I_SCSI_HOST_QDEPTH 1024 #define CXGB3I_MAX_LUN 512 #define ISCSI_PDU_NONPAYLOAD_MAX \ (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE) /*for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */ #define CXGB3I_TX_HEADER_LEN \ (sizeof(struct tx_data_wr) + sizeof(struct sge_opaque_hdr)) extern cxgb3_cpl_handler_func cxgb3i_cpl_handlers[NUM_CPL_CMDS];
static inline unsigned int cxgb3i_get_private_ipv4addr(struct net_device *ndev) { return ((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
karen xie | karen xie | 30 | 100.00% | 2 | 100.00% |
Total | 30 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
karen xie | karen xie | 68 | 100.00% | 2 | 100.00% |
Total | 68 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
karen xie | karen xie | 187 | 100.00% | 3 | 100.00% |
Total | 187 | 100.00% | 3 | 100.00% |