Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
e20b5b61
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
e20b5b61
编写于
4月 01, 2011
作者:
B
Ben Hutchings
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ethtool: Convert struct ethtool_ops comment to kernel-doc format
Signed-off-by:
N
Ben Hutchings
<
bhutchings@solarflare.com
>
上级
abfe9039
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
35 addition
and
45 deletion
+35
-45
include/linux/ethtool.h
include/linux/ethtool.h
+35
-45
未找到文件。
include/linux/ethtool.h
浏览文件 @
e20b5b61
...
...
@@ -683,63 +683,53 @@ void ethtool_ntuple_flush(struct net_device *dev);
bool
ethtool_invalid_flags
(
struct
net_device
*
dev
,
u32
data
,
u32
supported
);
/**
* ðtool_ops - Alter and report network device settings
* get_settings: Get device-specific settings
* set_settings: Set device-specific settings
* get_drvinfo: Report driver information
* get_regs: Get device registers
* get_wol: Report whether Wake-on-Lan is enabled
* set_wol: Turn Wake-on-Lan on or off
* get_msglevel: Report driver message level
* set_msglevel: Set driver message level
* nway_reset: Restart autonegotiation
* get_link: Get link status
* get_eeprom: Read data from the device EEPROM
* set_eeprom: Write data to the device EEPROM
* get_coalesce: Get interrupt coalescing parameters
* set_coalesce: Set interrupt coalescing parameters
* get_ringparam: Report ring sizes
* set_ringparam: Set ring sizes
* get_pauseparam: Report pause parameters
* set_pauseparam: Set pause parameters
* get_rx_csum: Report whether receive checksums are turned on or off
* set_rx_csum: Turn receive checksum on or off
* get_tx_csum: Report whether transmit checksums are turned on or off
* set_tx_csum: Turn transmit checksums on or off
* get_sg: Report whether scatter-gather is enabled
* set_sg: Turn scatter-gather on or off
* get_tso: Report whether TCP segmentation offload is enabled
* set_tso: Turn TCP segmentation offload on or off
* get_ufo: Report whether UDP fragmentation offload is enabled
* set_ufo: Turn UDP fragmentation offload on or off
* self_test: Run specified self-tests
* get_strings: Return a set of strings that describe the requested objects
* phys_id: Identify the device
* get_stats: Return statistics about the device
* get_flags: get 32-bit flags bitmap
* set_flags: set 32-bit flags bitmap
*
* Description:
*
* get_settings:
* struct ethtool_ops - Alter and report network device settings
* @get_settings: Get device-specific settings.
* @get_settings is passed an ðtool_cmd to fill in. It returns
* an negative errno or zero.
*
* set_settings:
* @set_settings: Set device-specific settings.
* @set_settings is passed an ðtool_cmd and should attempt to set
* all the settings this device supports. It may return an error value
* if something goes wrong (otherwise 0).
*
* get_eeprom:
* @get_drvinfo: Report driver information
* @get_regs: Get device registers
* @get_wol: Report whether Wake-on-Lan is enabled
* @set_wol: Turn Wake-on-Lan on or off
* @get_msglevel: Report driver message level
* @set_msglevel: Set driver message level
* @nway_reset: Restart autonegotiation
* @get_link: Get link status
* @get_eeprom: Read data from the device EEPROM.
* Should fill in the magic field. Don't need to check len for zero
* or wraparound. Fill in the data argument with the eeprom values
* from offset to offset + len. Update len to the amount read.
* Returns an error or zero.
*
* set_eeprom:
* @set_eeprom: Write data to the device EEPROM.
* Should validate the magic field. Don't need to check len for zero
* or wraparound. Update len to the amount written. Returns an error
* or zero.
* @get_coalesce: Get interrupt coalescing parameters
* @set_coalesce: Set interrupt coalescing parameters
* @get_ringparam: Report ring sizes
* @set_ringparam: Set ring sizes
* @get_pauseparam: Report pause parameters
* @set_pauseparam: Set pause parameters
* @get_rx_csum: Report whether receive checksums are turned on or off
* @set_rx_csum: Turn receive checksum on or off
* @get_tx_csum: Report whether transmit checksums are turned on or off
* @set_tx_csum: Turn transmit checksums on or off
* @get_sg: Report whether scatter-gather is enabled
* @set_sg: Turn scatter-gather on or off
* @get_tso: Report whether TCP segmentation offload is enabled
* @set_tso: Turn TCP segmentation offload on or off
* @get_ufo: Report whether UDP fragmentation offload is enabled
* @set_ufo: Turn UDP fragmentation offload on or off
* @self_test: Run specified self-tests
* @get_strings: Return a set of strings that describe the requested objects
* @phys_id: Identify the device
* @get_stats: Return statistics about the device
* @get_flags: get 32-bit flags bitmap
* @set_flags: set 32-bit flags bitmap
*/
struct
ethtool_ops
{
int
(
*
get_settings
)(
struct
net_device
*
,
struct
ethtool_cmd
*
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录