Defined in 2 files as a function:
- drivers/net/ethernet/sfc/ethtool_common.c, line 913 (as a function)
- drivers/net/ethernet/sfc/siena/ethtool_common.c, line 904 (as a function)
Referenced in 2 files:
- drivers/net/ethernet/sfc/ethtool_common.c, line 1135
- drivers/net/ethernet/sfc/siena/ethtool_common.c, line 1126
Smatch caller information:
drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_set_rxnfc() -> efx_ethtool_set_class_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->filter_get_rx_id_limit | 4096-ptr_max |
| PARAM_VALUE | 1 | rule | 4096-ptr_max |
| BUF_SIZE | 0 | efx | 5888 |
| DATA_SOURCE | 0 | efx | r efx_netdev_priv |
| USER_DATA | 1 | rule->flow_type | 0-u32max |
| USER_DATA | 1 | rule->h_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | rule->h_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->location | 0-u32max |
| USER_DATA | 1 | rule->m_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | rule->m_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->ring_cookie | 0-u64max |
| USER_DATA | 2 | rss_context | 0-u32max |
drivers/net/ethernet/sfc/siena/ethtool_common.c efx_siena_ethtool_set_rxnfc() -> efx_ethtool_set_class_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->filter_get_rx_id_limit | 4096-ptr_max |
| PARAM_VALUE | 1 | rule | 4096-ptr_max |
| USER_DATA | 1 | rule->flow_type | 0-u32max |
| USER_DATA | 1 | rule->h_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | rule->h_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->h_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->h_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->h_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | rule->h_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->location | 0-u32max |
| USER_DATA | 1 | rule->m_ext.vlan_etype | 0-u16max |
| USER_DATA | 1 | rule->m_ext.vlan_tci | 0-u16max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.ah_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.ah_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.esp_ip6_spec.spi | 0-u32max |
| USER_DATA | 1 | rule->m_u.esp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.ether_spec.h_proto | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.sctp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.sctp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.tcp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.tcp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.udp_ip6_spec.pdst | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip6_spec.psrc | 0-u16max |
| USER_DATA | 1 | rule->m_u.udp_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.ip4dst | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.ip4src | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.ip_ver | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.proto | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip4_spec.tos | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip6_spec.l4_4_bytes | 0-u32max |
| USER_DATA | 1 | rule->m_u.usr_ip6_spec.l4_proto | 0-255 |
| USER_DATA | 1 | rule->m_u.usr_ip6_spec.tclass | 0-255 |
| USER_DATA | 1 | rule->ring_cookie | 0-u64max |
| USER_DATA | 2 | rss_context | 0-u32max |