Home
last modified time | relevance | path

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

/Linux-v5.4/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.c190 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles()
325 rx_packets += port->port_res[i].rx_packets; in ehea_get_stats64()
326 rx_bytes += port->port_res[i].rx_bytes; in ehea_get_stats64()
330 tx_packets += port->port_res[i].tx_packets; in ehea_get_stats64()
331 tx_bytes += port->port_res[i].tx_bytes; in ehea_get_stats64()
556 skb_record_rx_queue(skb, pr - &pr->port->port_res[0]); in ehea_fill_skb()
757 struct ehea_port_res *pr = &port->port_res[i]; in reset_sq_restart_flag()
770 struct ehea_port_res *pr = &port->port_res[i]; in check_sqs()
807 pr - &pr->port->port_res[0]); in ehea_proc_cqes()
934 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
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c4433 struct be_port_resources *port_res, in be_cmd_get_profile_config() argument
4478 if (port_res) { in be_cmd_get_profile_config()
4490 port_res->nic_pfs++; in be_cmd_get_profile_config()
4494 port_res->max_vfs += le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
Dbe_main.c4407 struct be_port_resources port_res = {0}; in be_calculate_pf_pool_rss_tables() local
4411 be_cmd_get_profile_config(adapter, NULL, &port_res, SAVED_PROFILE_TYPE, in be_calculate_pf_pool_rss_tables()
4414 rss_tables_on_port = MAX_PORT_RSS_TABLES - port_res.nic_pfs; in be_calculate_pf_pool_rss_tables()
4420 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,