.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Linux network driver for QLogic BR-series Converged Network Adapter. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify it |
---|
5 | | - * under the terms of the GNU General Public License (GPL) Version 2 as |
---|
6 | | - * published by the Free Software Foundation |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope that it will be useful, but |
---|
9 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
11 | | - * General Public License for more details. |
---|
12 | 4 | */ |
---|
13 | 5 | /* |
---|
14 | 6 | * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. |
---|
.. | .. |
---|
292 | 284 | unsigned long flags; |
---|
293 | 285 | |
---|
294 | 286 | strlcpy(drvinfo->driver, BNAD_NAME, sizeof(drvinfo->driver)); |
---|
295 | | - strlcpy(drvinfo->version, BNAD_VERSION, sizeof(drvinfo->version)); |
---|
296 | 287 | |
---|
297 | 288 | ioc_attr = kzalloc(sizeof(*ioc_attr), GFP_KERNEL); |
---|
298 | 289 | if (ioc_attr) { |
---|
.. | .. |
---|
1124 | 1115 | } |
---|
1125 | 1116 | |
---|
1126 | 1117 | static const struct ethtool_ops bnad_ethtool_ops = { |
---|
| 1118 | + .supported_coalesce_params = ETHTOOL_COALESCE_USECS | |
---|
| 1119 | + ETHTOOL_COALESCE_TX_MAX_FRAMES | |
---|
| 1120 | + ETHTOOL_COALESCE_USE_ADAPTIVE_RX, |
---|
1127 | 1121 | .get_drvinfo = bnad_get_drvinfo, |
---|
1128 | 1122 | .get_wol = bnad_get_wol, |
---|
1129 | 1123 | .get_link = ethtool_op_get_link, |
---|