Searched refs:ethsw (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch.c | 2438 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_rx() local 2504 if (ethsw->major > 8 || (ethsw->major == 8 && ethsw->minor >= 6)) in dpaa2_switch_detect_features() 2523 ethsw->fq[i].ethsw = ethsw; in dpaa2_switch_setup_fqs() 2527 ethsw->fq[i].ethsw = ethsw; in dpaa2_switch_setup_fqs() 2799 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_store_consume() local 3005 err = dpsw_open(ethsw->mc_io, 0, ethsw->dev_id, ðsw->dpsw_handle); in dpaa2_switch_init() 3031 ethsw->major, ethsw->minor); in dpaa2_switch_init() 3212 filter_block->ethsw = ethsw; in dpaa2_switch_port_init() 3369 ethsw = kzalloc(sizeof(*ethsw), GFP_KERNEL); in dpaa2_switch_probe() 3392 ethsw->ports = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->ports), in dpaa2_switch_probe() [all …]
|
| H A D | dpaa2-switch-flower.c | 121 struct ethsw_core *ethsw = filter_block->ethsw; in dpaa2_switch_acl_entry_add() local 142 err = dpsw_acl_add_entry(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_acl_entry_add() 165 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_acl_entry_remove() local 406 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_block_add_mirror() local 460 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_add_mirror() 471 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_block_remove_mirror() local 487 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_remove_mirror() 499 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_cls_flower_replace_acl() local 588 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_cls_flower_replace_mirror() local 701 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_cls_matchall_replace_acl() local [all …]
|
| H A D | dpaa2-switch.h | 94 struct ethsw_core *ethsw; member 125 struct ethsw_core *ethsw; member 195 static inline int dpaa2_switch_get_index(struct ethsw_core *ethsw, in dpaa2_switch_get_index() argument 200 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_get_index() 201 if (ethsw->ports[i]->netdev == netdev) in dpaa2_switch_get_index() 202 return ethsw->ports[i]->idx; in dpaa2_switch_get_index() 209 if (ethsw->sw_attr.options & DPSW_OPT_CTRL_IF_DIS) { in dpaa2_switch_supports_cpu_traffic() 210 dev_err(ethsw->dev, "Control Interface is disabled, cannot probe\n"); in dpaa2_switch_supports_cpu_traffic() 214 if (ethsw->sw_attr.flooding_cfg != DPSW_FLOODING_PER_FDB) { in dpaa2_switch_supports_cpu_traffic() 219 if (ethsw->sw_attr.broadcast_cfg != DPSW_BROADCAST_PER_FDB) { in dpaa2_switch_supports_cpu_traffic() [all …]
|
| H A D | dpaa2-switch-ethtool.c | 104 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_set_link_ksettings() local 123 err = dpsw_if_disable(ethsw->mc_io, 0, in dpaa2_switch_set_link_ksettings() 124 ethsw->dpsw_handle, in dpaa2_switch_set_link_ksettings() 148 ret = dpsw_if_enable(ethsw->mc_io, 0, in dpaa2_switch_set_link_ksettings() 149 ethsw->dpsw_handle, in dpaa2_switch_set_link_ksettings()
|
| /linux-6.15/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H A D | mac-phy-support.rst | 14 drivers (dpaa2-eth, dpaa2-ethsw) interact with the PHY library. 71 phylink) and its attached net_device driver (dpaa2-eth, dpaa2-ethsw),
|