Searched refs:port_res (Results 1 – 5 of 5) sorted by relevance
234 data[i++] = port->port_res[0].swqe_refill_th; in ehea_get_ethtool_stats()238 tmp += port->port_res[k].p_stats.poll_receive_errors; in ehea_get_ethtool_stats()242 tmp += port->port_res[k].p_stats.err_tcp_cksum; in ehea_get_ethtool_stats()246 tmp += port->port_res[k].p_stats.err_ip_cksum; in ehea_get_ethtool_stats()250 tmp += port->port_res[k].p_stats.err_frame_crc; in ehea_get_ethtool_stats()254 tmp += port->port_res[k].p_stats.queue_stopped; in ehea_get_ethtool_stats()258 data[i++] = atomic_read(&port->port_res[k].swqe_avail); in ehea_get_ethtool_stats()
194 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles()329 rx_packets += port->port_res[i].rx_packets; in ehea_get_stats64()330 rx_bytes += port->port_res[i].rx_bytes; in ehea_get_stats64()334 tx_packets += port->port_res[i].tx_packets; in ehea_get_stats64()335 tx_bytes += port->port_res[i].tx_bytes; in ehea_get_stats64()560 skb_record_rx_queue(skb, pr - &pr->port->port_res[0]); in ehea_fill_skb()761 struct ehea_port_res *pr = &port->port_res[i]; in reset_sq_restart_flag()774 struct ehea_port_res *pr = &port->port_res[i]; in check_sqs()811 pr - &pr->port->port_res[0]); in ehea_proc_cqes()938 qp = port->port_res[qp_token].qp; in ehea_qp_aff_irq_handler()[all …]
432 struct ehea_port_res port_res[EHEA_MAX_PORT_RES]; member
4441 struct be_port_resources *port_res, in be_cmd_get_profile_config() argument4486 if (port_res) { in be_cmd_get_profile_config()4498 port_res->nic_pfs++; in be_cmd_get_profile_config()4502 port_res->max_vfs += le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
4425 struct be_port_resources port_res = {0}; in be_calculate_pf_pool_rss_tables() local4429 be_cmd_get_profile_config(adapter, NULL, &port_res, SAVED_PROFILE_TYPE, in be_calculate_pf_pool_rss_tables()4432 rss_tables_on_port = MAX_PORT_RSS_TABLES - port_res.nic_pfs; in be_calculate_pf_pool_rss_tables()4438 max_vfs * rss_tables_on_port / port_res.max_vfs; in be_calculate_pf_pool_rss_tables()