Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/mellanox/mlx5/core/en/fs_ethtool.h, line 39 (as a function)
- drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c, line 996 (as a function)
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c, line 2496
- drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c, line 281
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_get_rxnfc() -> mlx5e_ethtool_get_rxnfc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| BUF_SIZE | 1 | info | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | info | (-1),4,24,64,168-s32max |
| BUF_SIZE | 2 | rule_locs | (-1)-0,4-s32max |
| BUF_SIZE | 2 | rule_locs | (-1)-0,4-s32max |
| DATA_SOURCE | 1 | info | $1 |
| DATA_SOURCE | 2 | rule_locs | $2 |
| NOSPEC | 1 | info->cmd | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | info->cmd | 0-47,49-u32max |
| USER_DATA | 1 | info->data | 0-u64max |
| USER_DATA | 1 | info->flow_type | 0-u32max |
| USER_DATA | 1 | info->fs.flow_type | 0-u32max |
| USER_DATA | 1 | info->fs.h_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | info->fs.h_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.location | 0-u32max |
| USER_DATA | 1 | info->fs.m_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | info->fs.m_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.ring_cookie | 0-u64max |
| USER_DATA | 1 | info->rss_context | 0-u32max |
| USER_DATA | 1 | info->rule_cnt | 0-u32max |
| USER_PTR | 1 | info->rule_locs | |
| HALF_LOCKED2 | &dev->ethtool->rss_lock |
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c mlx5i_get_rxnfc() -> mlx5e_ethtool_get_rxnfc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| BUF_SIZE | 1 | info | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | info | (-1),4,24,64,168-s32max |
| BUF_SIZE | 2 | rule_locs | (-1)-0,4-s32max |
| BUF_SIZE | 2 | rule_locs | (-1)-0,4-s32max |
| DATA_SOURCE | 1 | info | $1 |
| DATA_SOURCE | 2 | rule_locs | $2 |
| NOSPEC | 1 | info->cmd | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | info->cmd | 0-47,49-u32max |
| USER_DATA | 1 | info->data | 0-u64max |
| USER_DATA | 1 | info->flow_type | 0-u32max |
| USER_DATA | 1 | info->fs.flow_type | 0-u32max |
| USER_DATA | 1 | info->fs.h_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | info->fs.h_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.h_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.h_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | info->fs.h_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.location | 0-u32max |
| USER_DATA | 1 | info->fs.m_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | info->fs.m_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | info->fs.m_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | info->fs.m_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | info->fs.m_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | info->fs.ring_cookie | 0-u64max |
| USER_DATA | 1 | info->rss_context | 0-u32max |
| USER_DATA | 1 | info->rule_cnt | 0-u32max |
| USER_PTR | 1 | info->rule_locs | |
| HALF_LOCKED2 | &dev->ethtool->rss_lock |