Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h79 #define MAX_NPORTS 4 macro
80 #define PORT_MASK ((1 << MAX_NPORTS) - 1)
250 struct port_info port[MAX_NPORTS];
Dsge.c240 struct sched_port p[MAX_NPORTS];
269 struct sk_buff *espibug_skb[MAX_NPORTS];
272 struct sge_port_stats __percpu *port_stats[MAX_NPORTS];
291 for (i = 0; i < MAX_NPORTS; i++) in tx_sched_stop()
351 for (i = 0; i < MAX_NPORTS; i++)
387 for (i = 0; i < MAX_NPORTS; i++) { in tx_sched_init()
413 for (i = 0; i < MAX_NPORTS; i++) { in sched_update_avail()
456 for (i = 0; i < MAX_NPORTS; i++) { in sched_skb()
457 s->port = (s->port + 1) & (MAX_NPORTS - 1); in sched_skb()
1963 for (i = 0; i < MAX_NPORTS; i++) in t1_sge_stop()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h56 MAX_NPORTS = 1, /* max # of "ports" */ enumerator
58 MAX_ETH_QSETS = MAX_NPORTS*MAX_PORT_QSETS,
386 struct net_device *port[MAX_NPORTS];
Dcxgb4vf_main.c2448 if (adapter->params.nports > MAX_NPORTS) { in size_nports_qsets()
2450 " allowed virtual interfaces\n", MAX_NPORTS, in size_nports_qsets()
2452 adapter->params.nports = MAX_NPORTS; in size_nports_qsets()
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit.h137 u8 selectq[MAX_NPORTS][2];
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h84 MAX_NPORTS = 4, /* max # of ports */ enumerator
489 u8 mps_bg_map[MAX_NPORTS]; /* MPS Buffer Group Map */
1137 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.c1121 int timer[MAX_NPORTS]; in set_dbqtimer_tickval()
Dcxgb4_main.c2739 for (i = 0; i < MAX_NPORTS; i++) { in update_clip()
Dt4_hw.c6212 for (p = 0; p < MAX_NPORTS; p++, val >>= 8) in t4_get_mps_bg_map()