Home
last modified time | relevance | path

Searched refs:MAX_NPORTS (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h70 #define MAX_NPORTS 4 macro
71 #define PORT_MASK ((1 << MAX_NPORTS) - 1)
240 struct port_info port[MAX_NPORTS];
Dsge.c231 struct sched_port p[MAX_NPORTS];
260 struct sk_buff *espibug_skb[MAX_NPORTS];
263 struct sge_port_stats __percpu *port_stats[MAX_NPORTS];
282 for (i = 0; i < MAX_NPORTS; i++) in tx_sched_stop()
342 for (i = 0; i < MAX_NPORTS; i++)
378 for (i = 0; i < MAX_NPORTS; i++) { in tx_sched_init()
404 for (i = 0; i < MAX_NPORTS; i++) { in sched_update_avail()
447 for (i = 0; i < MAX_NPORTS; i++) { in sched_skb()
448 s->port = (s->port + 1) & (MAX_NPORTS - 1); in sched_skb()
1993 for (i = 0; i < MAX_NPORTS; i++) in t1_sge_stop()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h57 MAX_NPORTS = 1, /* max # of "ports" */ enumerator
59 MAX_ETH_QSETS = MAX_NPORTS*MAX_PORT_QSETS,
387 struct net_device *port[MAX_NPORTS];
Dcxgb4vf_main.c2456 if (adapter->params.nports > MAX_NPORTS) { in size_nports_qsets()
2458 " allowed virtual interfaces\n", MAX_NPORTS, in size_nports_qsets()
2460 adapter->params.nports = MAX_NPORTS; in size_nports_qsets()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h69 MAX_NPORTS = 2, /* max # of ports */ enumerator
169 unsigned char gpio_intr[MAX_NPORTS]; /* GPIO PHY IRQ pins */
362 u8 port_type[MAX_NPORTS];
Dadapter.h250 struct net_device *port[MAX_NPORTS];
Dcxgb3_main.c77 #define PORT_MASK ((1 << MAX_NPORTS) - 1)
/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit.h137 u8 selectq[MAX_NPORTS][2];
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h85 MAX_NPORTS = 4, /* max # of ports */ enumerator
487 u8 mps_bg_map[MAX_NPORTS]; /* MPS Buffer Group Map */
1133 struct net_device *port[MAX_NPORTS];
Dcxgb4_debugfs.c1345 if (i >= MAX_NPORTS) { in mps_trc_show()
1525 if (adap->chan_map[tp.port & 3] >= MAX_NPORTS) in mps_trc_write()
1533 if (adap->chan_map[tp.port] >= MAX_NPORTS) in mps_trc_write()
3578 while (i < MAX_NPORTS) { in chcr_stats_show()
Dcxgb4_ethtool.c1125 int timer[MAX_NPORTS]; in set_dbqtimer_tickval()
Dcxgb4_main.c2738 for (i = 0; i < MAX_NPORTS; i++) { in update_clip()
Dt4_hw.c6184 for (p = 0; p < MAX_NPORTS; p++, val >>= 8) in t4_get_mps_bg_map()