Home
last modified time | relevance | path

Searched refs:nn_cfg_readl (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/net/nfp/
H A Dnfp_ethdev_vf.c43 tmp = rte_be_to_cpu_32(nn_cfg_readl(hw, NFP_NET_CFG_MACADDR)); in nfp_netvf_read_mac()
46 tmp = rte_be_to_cpu_32(nn_cfg_readl(hw, NFP_NET_CFG_MACADDR + 4)); in nfp_netvf_read_mac()
337 hw->max_rx_queues = nn_cfg_readl(hw, NFP_NET_CFG_MAX_RXRINGS); in nfp_netvf_init()
338 hw->max_tx_queues = nn_cfg_readl(hw, NFP_NET_CFG_MAX_TXRINGS); in nfp_netvf_init()
343 start_q = nn_cfg_readl(hw, NFP_NET_CFG_START_TXQ); in nfp_netvf_init()
345 start_q = nn_cfg_readl(hw, NFP_NET_CFG_START_RXQ); in nfp_netvf_init()
368 hw->ver = nn_cfg_readl(hw, NFP_NET_CFG_VERSION); in nfp_netvf_init()
369 hw->cap = nn_cfg_readl(hw, NFP_NET_CFG_CAP); in nfp_netvf_init()
370 hw->max_mtu = nn_cfg_readl(hw, NFP_NET_CFG_MAX_MTU); in nfp_netvf_init()
380 hw->rx_offset = nn_cfg_readl(hw, NFP_NET_CFG_RX_OFFSET_ADDR); in nfp_netvf_init()
H A Dnfp_ethdev.c470 hw->max_rx_queues = nn_cfg_readl(hw, NFP_NET_CFG_MAX_RXRINGS); in nfp_net_init()
471 hw->max_tx_queues = nn_cfg_readl(hw, NFP_NET_CFG_MAX_TXRINGS); in nfp_net_init()
477 start_q = nn_cfg_readl(hw, NFP_NET_CFG_START_TXQ); in nfp_net_init()
479 start_q = nn_cfg_readl(hw, NFP_NET_CFG_START_RXQ); in nfp_net_init()
501 hw->ver = nn_cfg_readl(hw, NFP_NET_CFG_VERSION); in nfp_net_init()
502 hw->cap = nn_cfg_readl(hw, NFP_NET_CFG_CAP); in nfp_net_init()
503 hw->max_mtu = nn_cfg_readl(hw, NFP_NET_CFG_MAX_MTU); in nfp_net_init()
513 hw->rx_offset = nn_cfg_readl(hw, NFP_NET_CFG_RX_OFFSET_ADDR); in nfp_net_init()
H A Dnfp_common.c76 new = nn_cfg_readl(hw, NFP_NET_CFG_UPDATE); in __nfp_net_reconfig()
498 nn_link_status = nn_cfg_readl(hw, NFP_NET_CFG_STS); in nfp_net_link_update()
1038 reta = nn_cfg_readl(hw, NFP_NET_CFG_RSS_ITBL + i); in nfp_net_rss_reta_write()
1116 reta = nn_cfg_readl(hw, NFP_NET_CFG_RSS_ITBL + (idx * 64) + in nfp_net_reta_query()
1230 cfg_rss_ctrl = nn_cfg_readl(hw, NFP_NET_CFG_RSS_CTRL); in nfp_net_rss_hash_conf_get()
1254 rss_conf->rss_key_len = nn_cfg_readl(hw, NFP_NET_CFG_RSS_KEY_SZ); in nfp_net_rss_hash_conf_get()
H A Dnfp_common.h282 nn_cfg_readl(struct nfp_net_hw *hw, int off) in nn_cfg_readl() function