![]() |
|
|||
0001 /* 0002 * This file is part of the Chelsio T4 Ethernet driver for Linux. 0003 * 0004 * Copyright (c) 2015 Chelsio Communications, Inc. All rights reserved. 0005 * 0006 * This software is available to you under a choice of one of two 0007 * licenses. You may choose to be licensed under the terms of the GNU 0008 * General Public License (GPL) Version 2, available from the file 0009 * COPYING in the main directory of this source tree, or the 0010 * OpenIB.org BSD license below: 0011 * 0012 * Redistribution and use in source and binary forms, with or 0013 * without modification, are permitted provided that the following 0014 * conditions are met: 0015 * 0016 * - Redistributions of source code must retain the above 0017 * copyright notice, this list of conditions and the following 0018 * disclaimer. 0019 * 0020 * - Redistributions in binary form must reproduce the above 0021 * copyright notice, this list of conditions and the following 0022 * disclaimer in the documentation and/or other materials 0023 * provided with the distribution. 0024 * 0025 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 0026 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 0027 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 0028 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 0029 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 0030 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0031 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 0032 * SOFTWARE. 0033 */ 0034 0035 #ifndef __CXGB4_FCOE_H__ 0036 #define __CXGB4_FCOE_H__ 0037 0038 #ifdef CONFIG_CHELSIO_T4_FCOE 0039 0040 #define CXGB_FCOE_TXPKT_CSUM_START 28 0041 #define CXGB_FCOE_TXPKT_CSUM_END 8 0042 0043 /* fcoe flags */ 0044 enum { 0045 CXGB_FCOE_ENABLED = (1 << 0), 0046 }; 0047 0048 struct cxgb_fcoe { 0049 u8 flags; 0050 }; 0051 0052 int cxgb_fcoe_enable(struct net_device *); 0053 int cxgb_fcoe_disable(struct net_device *); 0054 bool cxgb_fcoe_sof_eof_supported(struct adapter *, struct sk_buff *); 0055 0056 #endif /* CONFIG_CHELSIO_T4_FCOE */ 0057 #endif /* __CXGB4_FCOE_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |