Searched refs:port_res (Results 1 – 6 of 6) sorted by relevance
248 data[i++] = port->port_res[0].swqe_refill_th; in ehea_get_ethtool_stats()252 tmp += port->port_res[k].p_stats.poll_receive_errors; in ehea_get_ethtool_stats()256 tmp += port->port_res[k].p_stats.err_tcp_cksum; in ehea_get_ethtool_stats()260 tmp += port->port_res[k].p_stats.err_ip_cksum; in ehea_get_ethtool_stats()264 tmp += port->port_res[k].p_stats.err_frame_crc; in ehea_get_ethtool_stats()268 tmp += port->port_res[k].p_stats.queue_stopped; in ehea_get_ethtool_stats()272 data[i++] = atomic_read(&port->port_res[k].swqe_avail); in ehea_get_ethtool_stats()
204 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles()339 rx_packets += port->port_res[i].rx_packets; in ehea_get_stats64()340 rx_bytes += port->port_res[i].rx_bytes; in ehea_get_stats64()344 tx_packets += port->port_res[i].tx_packets; in ehea_get_stats64()345 tx_bytes += port->port_res[i].tx_bytes; in ehea_get_stats64()570 skb_record_rx_queue(skb, pr - &pr->port->port_res[0]); in ehea_fill_skb()771 struct ehea_port_res *pr = &port->port_res[i]; in reset_sq_restart_flag()784 struct ehea_port_res *pr = &port->port_res[i]; in check_sqs()822 pr - &pr->port->port_res[0]); in ehea_proc_cqes()949 qp = port->port_res[qp_token].qp; in ehea_qp_aff_irq_handler()[all …]
445 struct ehea_port_res port_res[EHEA_MAX_PORT_RES]; member
4439 struct be_port_resources *port_res, in be_cmd_get_profile_config() argument4484 if (port_res) { in be_cmd_get_profile_config()4496 port_res->nic_pfs++; in be_cmd_get_profile_config()4500 port_res->max_vfs += le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
4411 struct be_port_resources port_res = {0}; in be_calculate_pf_pool_rss_tables() local4415 be_cmd_get_profile_config(adapter, NULL, &port_res, SAVED_PROFILE_TYPE, in be_calculate_pf_pool_rss_tables()4418 rss_tables_on_port = MAX_PORT_RSS_TABLES - port_res.nic_pfs; in be_calculate_pf_pool_rss_tables()4424 max_vfs * rss_tables_on_port / port_res.max_vfs; in be_calculate_pf_pool_rss_tables()
2501 struct be_port_resources *port_res,