Home
last modified time | relevance | path

Searched refs:ethsw (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw.c27 static int dpaa2_switch_add_vlan(struct ethsw_core *ethsw, u16 vid) in dpaa2_switch_add_vlan() argument
35 err = dpsw_vlan_add(ethsw->mc_io, 0, in dpaa2_switch_add_vlan()
36 ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_add_vlan()
38 dev_err(ethsw->dev, "dpsw_vlan_add err %d\n", err); in dpaa2_switch_add_vlan()
41 ethsw->vlans[vid] = ETHSW_VLAN_MEMBER; in dpaa2_switch_add_vlan()
67 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_pvid() local
73 err = dpsw_if_get_tci(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_set_pvid()
85 err = dpsw_if_disable(ethsw->mc_io, 0, in dpaa2_switch_port_set_pvid()
86 ethsw->dpsw_handle, in dpaa2_switch_port_set_pvid()
94 err = dpsw_if_set_tci(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_set_pvid()
[all …]
H A DMakefile8 obj-$(CONFIG_FSL_DPAA2_ETHSW) += dpaa2-ethsw.o
10 dpaa2-ethsw-objs := ethsw.o ethsw-ethtool.o dpsw.o
H A Dethsw-ethtool.c91 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_set_link_ksettings() local
99 err = dpsw_if_disable(ethsw->mc_io, 0, in dpaa2_switch_set_link_ksettings()
100 ethsw->dpsw_handle, in dpaa2_switch_set_link_ksettings()
124 ret = dpsw_if_enable(ethsw->mc_io, 0, in dpaa2_switch_set_link_ksettings()
125 ethsw->dpsw_handle, in dpaa2_switch_set_link_ksettings()
H A DREADME69 [eth drv] [eth drv] [ ethsw drv ]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.t1040-l2switch37 ethsw [port <port_no>] { enable | disable | show } - enable/disable a port; show a port's configura…
38 ethsw [port <port_no>] statistics { [help] | [clear] } - show an l2 switch port's statistics
39 ethsw [port <port_no>] learning { [help] | show | auto | disable } - enable/disable/show learning c…
40 ethsw [port <port_no>] [vlan <vid>] fdb { [help] | show | flush | { add | del } <mac> } - add/delet…
42 ethsw [port <port_no>] pvid { [help] | show | <pvid> } - set/show PVID (ingress and egress VLAN tag…
43 ethsw [port <port_no>] vlan { [help] | show | add <vid> | del <vid> } - add a VLAN to a port (VLAN …
44 ethsw [port <port_no>] untagged { [help] | show | all | none | pvid } - set egress tagging mode for…
45 ethsw [port <port_no>] egress tag { [help] | show | pvid | classified } - configure VID source for …
47 ethsw vlan fdb { [help] | show | shared | private } - make VLAN learning shared or private
48 ethsw [port <port_no>] ingress filtering { [help] | show | enable | disable } - enable/disable VLAN…
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/
H A DMakefile6 obj-$(CONFIG_FSL_DPAA2_ETHSW) += ethsw/
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Dmac-phy-support.rst14 drivers (dpaa2-eth, dpaa2-ethsw) interract with the PHY library.
71 phylink) and its attached net_device driver (dpaa2-eth, dpaa2-ethsw),
/OK3568_Linux_fs/u-boot/cmd/
H A DMakefile167 obj-$(CONFIG_CMD_ETHSW) += ethsw.o
H A Dethsw.c1088 U_BOOT_CMD(ethsw, ETHSW_MAX_CMD_PARAMS, 0, do_ethsw,
H A DKconfig1182 bool "ethsw"
/OK3568_Linux_fs/kernel/
H A DMAINTAINERS5394 F: drivers/staging/fsl-dpaa2/ethsw