Home
last modified time | relevance | path

Searched refs:netdev2pinfo (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_matchall.c16 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_egress_validate()
87 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_tc_bind_queues()
114 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_tc_unbind_queues()
141 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_alloc_tc()
188 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_free_tc()
205 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_mirror_alloc()
232 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_mirror_free()
246 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_del_filter()
266 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_add_filter()
312 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_alloc_filter()
[all …]
Dcxgb4_dcb.c35 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_init()
50 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_version_init()
61 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_cleanup_apps()
128 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_fsm()
413 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getstate()
422 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setstate()
443 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgtccfg()
506 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setpgtccfg_tx()
568 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgbwgcfg()
602 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setpgbwgcfg_tx()
[all …]
Dsched.h90 struct port_info *pi = netdev2pinfo(dev); in can_sched()
97 struct port_info *pi = netdev2pinfo(dev); in valid_class_id()
Dsched.c172 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_queue_lookup()
399 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_bind()
446 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_unbind()
585 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_alloc()
607 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_free()
645 struct port_info *pi = netdev2pinfo(dev); in t4_sched_class_free()
678 struct port_info *pi = netdev2pinfo(adap->port[j]); in t4_cleanup_sched()
Dcxgb4_tc_mqprio.c12 struct port_info *pi = netdev2pinfo(dev); in cxgb4_mqprio_validate()
151 struct port_info *pi = netdev2pinfo(dev); in cxgb4_mqprio_alloc_hw_resources()
274 struct port_info *pi = netdev2pinfo(dev); in cxgb4_mqprio_free_hw_resources()
331 struct port_info *pi = netdev2pinfo(dev); in cxgb4_mqprio_alloc_tc()
372 struct port_info *pi = netdev2pinfo(dev); in cxgb4_mqprio_free_tc()
432 struct port_info *pi = netdev2pinfo(dev); in cxgb4_mqprio_enable_offload()
534 struct port_info *pi = netdev2pinfo(dev); in cxgb4_mqprio_disable_offload()
Dl2t.c428 lport = netdev2pinfo(physdev)->tx_chan + 4; in cxgb4_l2t_get()
430 lport = netdev2pinfo(physdev)->lport; in cxgb4_l2t_get()
Dcxgb4_main.c911 return netdev2pinfo(p->ingr_map[qid]->netdev)->tx_chan; in rxq_to_chan()
1126 RSSCONTROL_V(netdev2pinfo(adap->port[0])->tx_chan) | in setup_sge_queues()
1168 struct port_info *pi = netdev2pinfo(dev); in cxgb_select_queue()
1320 struct port_info *pi = netdev2pinfo(dev); in cxgb4_port_mirror_alloc_queues()
1427 struct port_info *pi = netdev2pinfo(dev); in cxgb4_port_mirror_free_queues()
1448 struct port_info *pi = netdev2pinfo(dev); in cxgb4_port_mirror_start()
1504 struct port_info *pi = netdev2pinfo(dev); in cxgb4_port_mirror_stop()
1516 struct port_info *pi = netdev2pinfo(dev); in cxgb4_port_mirror_alloc()
1564 struct port_info *pi = netdev2pinfo(dev); in cxgb4_port_mirror_free()
2123 return netdev2pinfo(dev)->tx_chan; in cxgb4_port_chan()
[all …]
Dcxgb4_tc_u32.c327 fs.val.iport = netdev2pinfo(dev)->port_id; in cxgb4_config_knode()
Dcxgb4.h1558 static inline struct port_info *netdev2pinfo(const struct net_device *dev) in netdev2pinfo() function
1583 return netdev2pinfo(dev)->adapter; in netdev2adap()
Dcxgb4_tc_flower.c304 fs->val.iport = netdev2pinfo(dev)->port_id; in cxgb4_process_flow_match()
Dsge.c2263 struct port_info *pi = netdev2pinfo(dev); in ethofld_hard_xmit()
2434 struct port_info *pi = netdev2pinfo(dev); in cxgb4_ethofld_xmit()
2537 struct port_info *pi = netdev2pinfo(dev); in cxgb4_ethofld_send_flowc()
Dcxgb4_ethtool.c416 return t4_identify_port(adap, adap->pf, netdev2pinfo(dev)->viid, val); in identify_port()
Dcxgb4_debugfs.c2394 struct port_info *pi = netdev2pinfo(dev); in dcb_info_show()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h519 static inline struct port_info *netdev2pinfo(const struct net_device *dev) in netdev2pinfo() function
544 return netdev2pinfo(dev)->adapter; in netdev2adap()
Dcxgb4vf_main.c907 struct port_info *pi = netdev2pinfo(dev); in cxgb4vf_get_stats()
1828 struct port_info *pi = netdev2pinfo(dev); in cxgb4vf_get_ethtool_stats()