Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c hinic_get_rxfh_fields() -> hinic_get_rss_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | nic_dev->flags | 4-u32max |
| PARAM_VALUE | 2 | rss_type | 6377417431651598336 |
| PARAM_VALUE | 2 | rss_type->ipv4 | 0 |
| PARAM_VALUE | 2 | rss_type->ipv6 | 0 |
| PARAM_VALUE | 2 | rss_type->ipv6_ext | 0 |
| PARAM_VALUE | 2 | rss_type->tcp_ipv4 | 0 |
| PARAM_VALUE | 2 | rss_type->tcp_ipv6 | 0 |
| PARAM_VALUE | 2 | rss_type->tcp_ipv6_ext | 0 |
| PARAM_VALUE | 2 | rss_type->udp_ipv4 | 0 |
| PARAM_VALUE | 2 | rss_type->udp_ipv6 | 0 |
| BIT_INFO | 0 | nic_dev->flags | 0x4,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &netdev->ethtool->rss_lock | ||
| TYPE_LOCK | (struct ethtool_netdev_state)->rss_lock |
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c hinic_set_rxfh_fields() -> hinic_get_rss_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | nic_dev->flags | 4-u32max |
| PARAM_VALUE | 2 | rss_type | 4096-ptr_max |
| BUF_SIZE | 2 | rss_type | 8 |
| PARAM_COMPARE | 0 | &nic_dev->rss_type | == $2 |
| BIT_INFO | 0 | nic_dev->flags | 0x4,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->ethtool->rss_lock | ||
| TYPE_LOCK | (struct ethtool_netdev_state)->rss_lock |