Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
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.h82 struct port_info *pi = netdev2pinfo(dev); in can_sched()
89 struct port_info *pi = netdev2pinfo(dev); in valid_class_id()
Dsched.c286 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_bind()
327 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_unbind()
457 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_alloc()
502 struct port_info *pi = netdev2pinfo(adap->port[j]); in t4_cleanup_sched()
Dl2t.c432 lport = netdev2pinfo(physdev)->tx_chan + 4; in cxgb4_l2t_get()
434 lport = netdev2pinfo(physdev)->lport; in cxgb4_l2t_get()
Dcxgb4_tc_u32.c315 fs.val.iport = netdev2pinfo(dev)->port_id; in cxgb4_config_knode()
Dcxgb4_main.c899 return netdev2pinfo(p->ingr_map[qid]->netdev)->tx_chan; in rxq_to_chan()
1052 RSSCONTROL_V(netdev2pinfo(adap->port[0])->tx_chan) | in setup_sge_queues()
1725 return netdev2pinfo(dev)->tx_chan; in cxgb4_port_chan()
1737 return netdev2pinfo(dev)->rx_cchan; in cxgb4_port_e2cchan()
1767 return netdev2pinfo(dev)->viid; in cxgb4_port_viid()
1779 return netdev2pinfo(dev)->port_id; in cxgb4_port_idx()
3170 struct port_info *pi = netdev2pinfo(dev); in cxgb_setup_tc_block_cb()
3198 struct port_info *pi = netdev2pinfo(dev); in cxgb_setup_tc()
Dcxgb4_tc_flower.c222 fs->val.iport = netdev2pinfo(dev)->port_id; in cxgb4_process_flow_match()
Dcxgb4.h1351 static inline struct port_info *netdev2pinfo(const struct net_device *dev) in netdev2pinfo() function
1376 return netdev2pinfo(dev)->adapter; in netdev2adap()
Dcxgb4_ethtool.c346 return t4_identify_port(adap, adap->pf, netdev2pinfo(dev)->viid, val); in identify_port()
Dcxgb4_debugfs.c2403 struct port_info *pi = netdev2pinfo(dev); in dcb_info_show()
/Linux-v5.4/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.c909 struct port_info *pi = netdev2pinfo(dev); in cxgb4vf_get_stats()
1827 struct port_info *pi = netdev2pinfo(dev); in cxgb4vf_get_ethtool_stats()