cxgb4.h (0ea8a56de21be24cb79abb03dee79aabcd60a316) | cxgb4.h (a8c16e8ed624f24b2b082fb9a193e0132a5fd108) |
---|---|
1/* 2 * This file is part of the Chelsio T4 Ethernet driver for Linux. 3 * 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 5 * 6 * This software is available to you under a choice of one of two 7 * licenses. You may choose to be licensed under the terms of the GNU 8 * General Public License (GPL) Version 2, available from the file --- 132 unchanged lines hidden (view full) --- 141 142enum { 143 CXGB4_ETHTOOL_FLASH_FW = 1, 144 CXGB4_ETHTOOL_FLASH_PHY = 2, 145 CXGB4_ETHTOOL_FLASH_BOOT = 3, 146 CXGB4_ETHTOOL_FLASH_BOOTCFG = 4 147}; 148 | 1/* 2 * This file is part of the Chelsio T4 Ethernet driver for Linux. 3 * 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 5 * 6 * This software is available to you under a choice of one of two 7 * licenses. You may choose to be licensed under the terms of the GNU 8 * General Public License (GPL) Version 2, available from the file --- 132 unchanged lines hidden (view full) --- 141 142enum { 143 CXGB4_ETHTOOL_FLASH_FW = 1, 144 CXGB4_ETHTOOL_FLASH_PHY = 2, 145 CXGB4_ETHTOOL_FLASH_BOOT = 3, 146 CXGB4_ETHTOOL_FLASH_BOOTCFG = 4 147}; 148 |
149enum cxgb4_netdev_tls_ops { 150 CXGB4_TLSDEV_OPS = 1, 151 CXGB4_XFRMDEV_OPS 152}; 153 |
|
149struct cxgb4_bootcfg_data { 150 __le16 signature; 151 __u8 reserved[2]; 152}; 153 154struct cxgb4_pcir_data { 155 __le32 signature; /* Signature. The string "PCIR" */ 156 __le16 vendor_id; /* Vendor Identification */ --- 1034 unchanged lines hidden (view full) --- 1191 spinlock_t ptp_lock; 1192 spinlock_t stats_lock; 1193 spinlock_t win0_lock ____cacheline_aligned_in_smp; 1194 1195 /* TC u32 offload */ 1196 struct cxgb4_tc_u32_table *tc_u32; 1197 struct chcr_ktls chcr_ktls; 1198 struct chcr_stats_debug chcr_stats; | 154struct cxgb4_bootcfg_data { 155 __le16 signature; 156 __u8 reserved[2]; 157}; 158 159struct cxgb4_pcir_data { 160 __le32 signature; /* Signature. The string "PCIR" */ 161 __le16 vendor_id; /* Vendor Identification */ --- 1034 unchanged lines hidden (view full) --- 1196 spinlock_t ptp_lock; 1197 spinlock_t stats_lock; 1198 spinlock_t win0_lock ____cacheline_aligned_in_smp; 1199 1200 /* TC u32 offload */ 1201 struct cxgb4_tc_u32_table *tc_u32; 1202 struct chcr_ktls chcr_ktls; 1203 struct chcr_stats_debug chcr_stats; |
1204#if IS_ENABLED(CONFIG_CHELSIO_TLS_DEVICE) 1205 struct ch_ktls_stats_debug ch_ktls_stats; 1206#endif 1207#if IS_ENABLED(CONFIG_CHELSIO_IPSEC_INLINE) 1208 struct ch_ipsec_stats_debug ch_ipsec_stats; 1209#endif |
|
1199 1200 /* TC flower offload */ 1201 bool tc_flower_initialized; 1202 struct rhashtable flower_tbl; 1203 struct rhashtable_params flower_ht_params; 1204 struct timer_list flower_stats_timer; 1205 struct work_struct flower_stats_work; 1206 --- 957 unchanged lines hidden (view full) --- 2164int cxgb4_get_msix_idx_from_bmap(struct adapter *adap); 2165void cxgb4_free_msix_idx_in_bmap(struct adapter *adap, u32 msix_idx); 2166int cxgb_open(struct net_device *dev); 2167int cxgb_close(struct net_device *dev); 2168void cxgb4_enable_rx(struct adapter *adap, struct sge_rspq *q); 2169void cxgb4_quiesce_rx(struct sge_rspq *q); 2170int cxgb4_port_mirror_alloc(struct net_device *dev); 2171void cxgb4_port_mirror_free(struct net_device *dev); | 1210 1211 /* TC flower offload */ 1212 bool tc_flower_initialized; 1213 struct rhashtable flower_tbl; 1214 struct rhashtable_params flower_ht_params; 1215 struct timer_list flower_stats_timer; 1216 struct work_struct flower_stats_work; 1217 --- 957 unchanged lines hidden (view full) --- 2175int cxgb4_get_msix_idx_from_bmap(struct adapter *adap); 2176void cxgb4_free_msix_idx_in_bmap(struct adapter *adap, u32 msix_idx); 2177int cxgb_open(struct net_device *dev); 2178int cxgb_close(struct net_device *dev); 2179void cxgb4_enable_rx(struct adapter *adap, struct sge_rspq *q); 2180void cxgb4_quiesce_rx(struct sge_rspq *q); 2181int cxgb4_port_mirror_alloc(struct net_device *dev); 2182void cxgb4_port_mirror_free(struct net_device *dev); |
2172#ifdef CONFIG_CHELSIO_TLS_DEVICE | 2183#if IS_ENABLED(CONFIG_CHELSIO_TLS_DEVICE) |
2173int cxgb4_set_ktls_feature(struct adapter *adap, bool enable); 2174#endif 2175#endif /* __CXGB4_H__ */ | 2184int cxgb4_set_ktls_feature(struct adapter *adap, bool enable); 2185#endif 2186#endif /* __CXGB4_H__ */ |