Searched refs:ethsw (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-switch.c | 2384 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_rx() local 2450 if (ethsw->major > 8 || (ethsw->major == 8 && ethsw->minor >= 6)) in dpaa2_switch_detect_features() 2469 ethsw->fq[i].ethsw = ethsw; in dpaa2_switch_setup_fqs() 2473 ethsw->fq[i].ethsw = ethsw; in dpaa2_switch_setup_fqs() 2744 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_store_consume() local 2952 err = dpsw_open(ethsw->mc_io, 0, ethsw->dev_id, ðsw->dpsw_handle); in dpaa2_switch_init() 2978 ethsw->major, ethsw->minor); in dpaa2_switch_init() 3159 filter_block->ethsw = ethsw; in dpaa2_switch_port_init() 3315 ethsw = kzalloc(sizeof(*ethsw), GFP_KERNEL); in dpaa2_switch_probe() 3338 ethsw->ports = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->ports), in dpaa2_switch_probe() [all …]
|
| A D | dpaa2-switch-flower.c | 118 struct ethsw_core *ethsw = filter_block->ethsw; in dpaa2_switch_acl_entry_add() local 138 err = dpsw_acl_add_entry(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_acl_entry_add() 159 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_acl_entry_remove() local 398 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_block_add_mirror() local 452 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_add_mirror() 463 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_block_remove_mirror() local 479 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_remove_mirror() 491 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_cls_flower_replace_acl() local 575 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_cls_flower_replace_mirror() local 688 struct ethsw_core *ethsw = block->ethsw; in dpaa2_switch_cls_matchall_replace_acl() local [all …]
|
| A D | dpaa2-switch.h | 94 struct ethsw_core *ethsw; member 125 struct ethsw_core *ethsw; member 193 static inline int dpaa2_switch_get_index(struct ethsw_core *ethsw, in dpaa2_switch_get_index() argument 198 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_get_index() 199 if (ethsw->ports[i]->netdev == netdev) in dpaa2_switch_get_index() 200 return ethsw->ports[i]->idx; in dpaa2_switch_get_index() 207 if (ethsw->sw_attr.options & DPSW_OPT_CTRL_IF_DIS) { in dpaa2_switch_supports_cpu_traffic() 208 dev_err(ethsw->dev, "Control Interface is disabled, cannot probe\n"); in dpaa2_switch_supports_cpu_traffic() 212 if (ethsw->sw_attr.flooding_cfg != DPSW_FLOODING_PER_FDB) { in dpaa2_switch_supports_cpu_traffic() 217 if (ethsw->sw_attr.broadcast_cfg != DPSW_BROADCAST_PER_FDB) { in dpaa2_switch_supports_cpu_traffic() [all …]
|
| A D | dpaa2-switch-ethtool.c | 97 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_set_link_ksettings() local 109 err = dpsw_if_disable(ethsw->mc_io, 0, in dpaa2_switch_set_link_ksettings() 110 ethsw->dpsw_handle, in dpaa2_switch_set_link_ksettings() 134 ret = dpsw_if_enable(ethsw->mc_io, 0, in dpaa2_switch_set_link_ksettings() 135 ethsw->dpsw_handle, in dpaa2_switch_set_link_ksettings()
|
| /linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| A D | mac-phy-support.rst | 14 drivers (dpaa2-eth, dpaa2-ethsw) interract with the PHY library. 71 phylink) and its attached net_device driver (dpaa2-eth, dpaa2-ethsw),
|
Completed in 21 milliseconds