Home
last modified time | relevance | path

Searched refs:port_res (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c234 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()
Dehea_main.c191 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles()
326 rx_packets += port->port_res[i].rx_packets; in ehea_get_stats64()
327 rx_bytes += port->port_res[i].rx_bytes; in ehea_get_stats64()
331 tx_packets += port->port_res[i].tx_packets; in ehea_get_stats64()
332 tx_bytes += port->port_res[i].tx_bytes; in ehea_get_stats64()
557 skb_record_rx_queue(skb, pr - &pr->port->port_res[0]); in ehea_fill_skb()
758 struct ehea_port_res *pr = &port->port_res[i]; in reset_sq_restart_flag()
771 struct ehea_port_res *pr = &port->port_res[i]; in check_sqs()
808 pr - &pr->port->port_res[0]); in ehea_proc_cqes()
935 qp = port->port_res[qp_token].qp; in ehea_qp_aff_irq_handler()
[all …]
Dehea.h431 struct ehea_port_res port_res[EHEA_MAX_PORT_RES]; member
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c4435 struct be_port_resources *port_res, in be_cmd_get_profile_config() argument
4480 if (port_res) { in be_cmd_get_profile_config()
4492 port_res->nic_pfs++; in be_cmd_get_profile_config()
4496 port_res->max_vfs += le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
Dbe_main.c4424 struct be_port_resources port_res = {0}; in be_calculate_pf_pool_rss_tables() local
4428 be_cmd_get_profile_config(adapter, NULL, &port_res, SAVED_PROFILE_TYPE, in be_calculate_pf_pool_rss_tables()
4431 rss_tables_on_port = MAX_PORT_RSS_TABLES - port_res.nic_pfs; in be_calculate_pf_pool_rss_tables()
4437 max_vfs * rss_tables_on_port / port_res.max_vfs; in be_calculate_pf_pool_rss_tables()
Dbe_cmds.h2497 struct be_port_resources *port_res,