| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_locked_port.sh | 50 bridge link set dev $swp1 learning off 187 bridge link set dev $swp1 learning on locked on 195 bridge link set dev $swp1 learning on locked on mab on 212 bridge link set dev $swp1 learning off locked off mab off 226 bridge link set dev $swp1 learning on locked on mab on 244 bridge link set dev $swp1 learning off locked off mab off 250 # learning enabled. 256 bridge link set dev $swp1 learning on locked off mab on &> /dev/null 259 bridge link set dev $swp1 learning off locked on mab on &> /dev/null 260 check_fail $? "MAB enabled while port has learning disabled" [all …]
|
| H A D | vxlan_bridge_1q.sh | 714 log_test "VXLAN: flood before learning" 781 # Toggle learning on the bridge port and check that the bridge's FDB 785 ip link set dev $vx type bridge_slave learning off 795 ip link set dev $vx type bridge_slave learning on 805 log_test "VXLAN: learning toggling on bridge port" 814 # Enable learning on the VxLAN devices and set ageing time to 30 seconds 817 ip link set dev vx10 type vxlan learning 819 ip link set dev vx20 type vxlan learning 822 log_info "learning vlan 10" 826 log_info "learning vlan 20"
|
| H A D | bridge_fdb_learning_limit.sh | 42 # swp2 is only used for replying when learning on swp1, its MAC should not be learned. 43 ip link set dev "$swp2" type bridge_slave learning off 131 # testing dynamic learning.
|
| H A D | vxlan_bridge_1d.sh | 697 # Enable learning on the VxLAN device and set ageing time to 30 seconds 700 ip link set dev vx1 type vxlan learning 708 log_test "VXLAN: flood before learning" 770 # Toggle learning on the bridge port and check that the bridge's FDB 774 ip link set dev vx1 type bridge_slave learning off 783 ip link set dev vx1 type bridge_slave learning on 792 log_test "VXLAN: learning toggling on bridge port"
|
| H A D | bridge_vlan_aware.sh | 4 ALL_TESTS="ping_ipv4 ping_ipv6 learning flooding vlan_deletion extern_learn other_tpid 8021p drop_u… 90 learning() function
|
| /linux/security/tomoyo/ |
| H A D | Kconfig | 17 int "Default maximal count for learning mode" 23 that are automatically appended into policy at "learning mode". 25 such programs in "learning mode" dulls the system response
|
| /linux/tools/testing/selftests/net/ |
| H A D | test_vxlan_nh.sh | 8 learning 106 learning() function 110 # When learning is enabled on the VXLAN device, an incoming packet 122 …un_cmd "ip -n $ns1 link add name vx1 up type vxlan id 10020 local 192.0.2.2 dstport 54321 learning" 129 log_test "VXLAN FDB nexthop: learning"
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | vxlan_ipv6.sh | 27 ip link add name vxlan0 up type vxlan id 10 learning $UDPCSUM_FLAFS \ 35 log_test "vxlan device with learning enabled"
|
| H A D | devlink_trap_l2_drops.sh | 279 log_test "Ingress STP filter - learning state" 429 bridge link set dev $swp1 learning off 468 bridge link set dev $swp1 learning on 476 bridge link set dev $swp1 learning off 519 bridge link set dev $swp1 learning on
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpsw.h | 316 * @DPSW_STP_STATE_LEARNING: Learning state 540 * enum dpsw_learning_mode - Auto-learning modes 541 * @DPSW_LEARNING_MODE_DIS: Disable Auto-learning 542 * @DPSW_LEARNING_MODE_HW: Enable HW auto-Learning 543 * @DPSW_LEARNING_MODE_NON_SECURE: Enable None secure learning by CPU 544 * @DPSW_LEARNING_MODE_SECURE: Enable secure learning by CPU 546 * NONE - SECURE LEARNING 580 * @learning_mode: Learning mode
|
| /linux/Documentation/networking/dsa/ |
| H A D | lan9303.rst | 22 no HW MAC learning takes place in this mode. 24 When both user ports are joined to the same bridge, the normal HW MAC learning
|
| /linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H A D | switch-driver.rst | 105 HW FDB learning can be configured on each switch port independently through 106 bridge commands. When the HW learning is disabled, a fast age procedure will be 110 $ bridge link set dev ethX learning off 111 $ bridge link set dev ethX learning on
|
| /linux/drivers/media/rc/ |
| H A D | ene_ir.h | 43 #define ENE_FW2_LEARNING 0x80 /* hardware supports learning and TX */ 195 bool hw_learning_and_tx_capable; /* learning & tx capable */ 229 bool learning_mode_enabled; /* learning input enabled */
|
| /linux/net/dsa/ |
| H A D | tag_lan9303.c | 44 * port using tag. ALR learning is performed only when using ALR lookup. 46 * then use ALR lookup to allow ALR learning on CPU port.
|
| H A D | port.c | 142 (do_fast_age && dp->learning)) { in dsa_port_set_state() 144 * for the given port, if we are moving it from Learning or in dsa_port_set_state() 147 * need to fast age the FDB, since address learning is off in in dsa_port_set_state() 197 if (!(dp->learning && in dsa_port_set_mst_state() 395 /* Configure the port for standalone mode (no address learning, in dsa_port_switchdev_unsync_attrs() 931 bool learning = flags.val & BR_LEARNING; in dsa_port_bridge_flags() local 933 if (learning == dp->learning) in dsa_port_bridge_flags() 936 if ((dp->learning && !learning) && in dsa_port_bridge_flags() 941 dp->learning = learning; in dsa_port_bridge_flags()
|
| /linux/Documentation/networking/ |
| H A D | switchdev.rst | 235 Where val is SWITCHDEV_FDB_ADD when learning and SWITCHDEV_FDB_DEL when 256 Learning on the port should be disabled on the bridge using the bridge command:: 258 bridge link set dev DEV learning off 260 Learning on the device port should be enabled, as well as learning_sync:: 262 bridge link set dev DEV learning on self 266 the bridge's FDB. It's possible, but not optimal, to enable learning on the 269 To support learning, the driver implements switchdev op
|
| H A D | vxlan.rst | 19 either dynamically in a manner similar to a learning bridge, or make
|
| /linux/Documentation/accel/ |
| H A D | introduction.rst | 13 Machine-Learning (ML) and/or Deep-Learning (DL) computations, the accel layer
|
| /linux/drivers/accel/amdxdna/ |
| H A D | Kconfig | 16 accelerate machine learning applications.
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_vlan.c | 191 /* Learning enabled only for bridged ports */ in sparx5_update_fwd() 196 /* Apply learning mask */ in sparx5_update_fwd()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l2_sys.c | 259 else if (sysfs_streq(attr_name, "learning")) in qeth_l2_vnicc_sysfs_attr_to_char() 351 static DEVICE_ATTR(learning, 0644, qeth_vnicc_char_show, qeth_vnicc_char_store);
|
| /linux/drivers/net/ethernet/sunplus/ |
| H A D | spl2sw_mac.c | 158 * Disable SA learning of cpu port 0 & 1. in spl2sw_mac_hw_init() 178 /* Disable LAN port SA learning. */ in spl2sw_mac_hw_init()
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | keystone-netcp.txt | 125 - enable-ale: NetCP driver keeps the address learning feature in the ethernet 127 learning.
|
| /linux/drivers/net/dsa/mxl862xx/ |
| H A D | mxl862xx.c | 423 p->learning = false; in mxl862xx_set_bridge_port() 439 br_port_cfg.src_mac_learning_disable = !p->learning; in mxl862xx_set_bridge_port() 1166 /* Apply VLAN block IDs and MAC learning flags to bridge port */ in mxl862xx_port_vlan_add() 1263 p->learning = true; in mxl862xx_setup_cpu_bridge() 1664 /* The firmware may re-enable MAC learning as a side-effect of entering in mxl862xx_port_stp_state_set() 1665 * LEARNING or FORWARDING state (per 802.1D defaults). in mxl862xx_port_stp_state_set() 1666 * Re-apply the driver's intended learning and metering config so that in mxl862xx_port_stp_state_set() 1667 * standalone ports keep learning disabled. in mxl862xx_port_stp_state_set() 1766 priv->ports[port].learning = !!(flags.val & BR_LEARNING); in mxl862xx_port_bridge_flags()
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker.h | 88 bool learning);
|