Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/intel/idpf/idpf_ethtool.c
- drivers/net/ethernet/intel/idpf/idpf_lib.c
- drivers/net/ethernet/intel/idpf/idpf_txrx.c, line 3146
- drivers/net/ethernet/intel/idpf/xdp.c, line 508
Smatch caller information:
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_add_flow_steer() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_del_flow_steer() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_ethtool_stats() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_q_coalesce() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_ringparam() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_rx_ring_count() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_rxfh() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &netdev->ethtool->rss_lock | |
| TYPE_LOCK | (struct ethtool_netdev_state)->rss_lock |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_rxnfc() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &netdev->ethtool->rss_lock |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_ts_info() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &np->adapter->vport_ctrl_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct idpf_adapter)->vport_ctrl_lock |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_ts_stats() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_set_channels() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_set_coalesce() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_set_per_q_coalesce() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| CAPPED_DATA | 0 | netdev->nd_net.net | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_set_ringparam() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_set_rxfh() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &netdev->ethtool->rss_lock | |
| TYPE_LOCK | (struct ethtool_netdev_state)->rss_lock |
drivers/net/ethernet/intel/idpf/xdp.c idpf_xdp() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->nd_net.net | (-1),10304 |
| DATA_SOURCE | 0 | netdev | $0 |
| NOSPEC | 0 | netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | netdev->flags | 2048-525313[c] |
| USER_DATA | 0 | netdev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &bpf_devs_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &netdev->lock |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_change_mtu() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->ethtool_ops | (-1),656 |
| BUF_SIZE | 0 | netdev->name_node | (-1),64 |
| BUF_SIZE | 0 | netdev->name_node->name | (-1),16 |
| BUF_SIZE | 0 | netdev->nd_net.net | (-1),10304,10432 |
| BUF_SIZE | 0 | netdev->rtnl_link_ops | (-1),288 |
| CAPPED_DATA | 0 | netdev | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| STR_LEN | 0 | netdev | (-1),9-10 |
| STR_LEN | 0 | netdev | (-1),9-10 |
| NOSPEC | 0 | netdev->flags | |
| NOSPEC | 0 | netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | netdev->flags | 0-527362[c] |
| USER_DATA | 0 | netdev->group | s32min-s32max |
| USER_DATA | 0 | netdev->ifindex | 0-s32max |
| USER_DATA | 0 | netdev->mtu | 0-s32max[c] |
| USER_DATA | 0 | netdev->num_tc | 2-16[c] |
| USER_DATA | 0 | *netdev->dev_addr | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->name | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_hwtstamp_get() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_hwtstamp_set() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_open() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->header_ops | (-1)-0,48 |
| BUF_SIZE | 0 | netdev->name_node | (-1),64 |
| BUF_SIZE | 0 | netdev->name_node->name | (-1),16 |
| BUF_SIZE | 0 | netdev->nd_net.net | (-1),10304,10432 |
| BUF_SIZE | 0 | netdev->rtnl_link_ops | (-1),288 |
| DATA_SOURCE | 0 | netdev | $0 |
| NOSPEC | 0 | netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | netdev->flags | 0-527873[c] |
| USER_DATA | 0 | netdev->group | s32min-s32max |
| USER_DATA | 0 | netdev->ifindex | s32min-s32max |
| USER_DATA | 0 | netdev->mtu | 0-s32max[c] |
| USER_DATA | 0 | netdev->num_tc | 2-16[c] |
| USER_DATA | 0 | netdev->real_num_rx_queues | 1-s32max[c] |
| USER_DATA | 0 | *netdev->dev_addr | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->name | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len | |
| USER_PTR | 0 | netdev->name | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &netdev->ethtool->rss_lock | |
| HALF_LOCKED2 | 0 | &netdev->lock |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_set_features() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->name_node | (-1),64 |
| BUF_SIZE | 0 | netdev->name_node->name | (-1),16 |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | netdev->flags | 0-526337[c] |
| USER_DATA | 0 | netdev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | netdev->mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &netdev->lock |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_set_mac() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->nd_net.net | (-1),10304 |
| CAPPED_DATA | 0 | netdev->addr_len | 1 |
| CAPPED_DATA | 0 | netdev->type | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| NOSPEC | 0 | netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | netdev->flags | 0-527362[c] |
| USER_DATA | 0 | netdev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len | |
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_stop() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->dcbnl_ops | (-1),424 |
| BUF_SIZE | 0 | netdev->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | netdev->dev.type | (-1),48 |
| BUF_SIZE | 0 | netdev->devlink_port | (-1),472 |
| BUF_SIZE | 0 | netdev->ethtool_ops | (-1),656 |
| BUF_SIZE | 0 | netdev->header_ops | (-1)-0,48 |
| BUF_SIZE | 0 | netdev->ieee80211_ptr | (-1),2512 |
| BUF_SIZE | 0 | netdev->ieee802154_ptr | (-1),272 |
| BUF_SIZE | 0 | netdev->ml_priv | (-1),48 |
| BUF_SIZE | 0 | netdev->name_node | (-1),64 |
| BUF_SIZE | 0 | netdev->name_node->name | (-1),16 |
| BUF_SIZE | 0 | netdev->nd_net.net | (-1),10304,10432,10624 |
| BUF_SIZE | 0 | netdev->netdev_ops | (-1),760 |
| BUF_SIZE | 0 | netdev->qdisc_tx_busylock | (-1),16 |
| BUF_SIZE | 0 | netdev->queue_mgmt_ops | (-1),80 |
| BUF_SIZE | 0 | netdev->rtnl_link_ops | (-1),288 |
| BUF_SIZE | 0 | netdev->stat_ops | (-1),24 |
| BUF_SIZE | 0 | netdev->sysfs_rx_queue_group | (-1),48 |
| BUF_SIZE | 0 | netdev->xdp_metadata_ops | (-1),24 |
| DATA_SOURCE | 0 | netdev | $0 |
| STR_LEN | 0 | netdev->ieee80211_ptr->wiphy | (-1),5-6 |
| STR_LEN | 0 | netdev->name | (-1),15 |
| STR_LEN | 0 | netdev->name_node->name | (-1),15 |
| STR_LEN | 0 | netdev->nd_net.net | (-1) |
| STR_LEN | 0 | netdev->rtnl_link_ops->kind | (-1),13 |
| NOSPEC | 0 | netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | netdev->max_mtu | 68-u16max |
| USER_DATA | 0 | netdev->flags | 0-527873[c] |
| USER_DATA | 0 | netdev->group | s32min-s32max |
| USER_DATA | 0 | netdev->ifindex | s32min-s32max |
| USER_DATA | 0 | netdev->mtu | 0-s32max[c] |
| USER_DATA | 0 | netdev->num_tc | 2-16[c] |
| USER_DATA | 0 | netdev->real_num_rx_queues | 1-s32max[c] |
| USER_DATA | 0 | netdev->threaded | 0-255 |
| USER_DATA | 0 | *netdev->dev_addr | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->name | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len | |
| USER_PTR | 0 | netdev->name | |
| USER_PTR | 0 | netdev->name_node->name | |
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &netdev->ethtool->rss_lock | |
| HALF_LOCKED2 | 0 | &netdev->lock |
drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_tx_start() -> idpf_netdev_to_vport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len | |
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &netdev->tx_global_lock |