adc615 login: root root@adc615:~# ^C root@adc615:~# root@adc615:~# root@adc615:~# root@adc615:~# root@adc615:~# ./switch-config --ndev eth0 -d K3 cpsw dump version (1) len(6328) ALE table dump ents(64): 0 : type: vlan , vid = 0, untag_force = 0x3, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3 1 : type: ucast, addr = 02:ad:c5:10:b0:01, ucast_type = persistant, port_num = 0x0, Secure 2 : type: mcast, vid = 0, addr = ff:ff:ff:ff:ff:ff, mcast_state = f, no super, port_mask = 0x3 3 : type: mcast, addr = 33:33:00:00:00:01, mcast_state = f, no super, port_mask = 0x1 4 : type: mcast, addr = 01:00:5e:00:00:01, mcast_state = f, no super, port_mask = 0x1 5 : type: mcast, addr = 33:33:ff:10:b0:01, mcast_state = f, no super, port_mask = 0x1 6 : type: mcast, addr = 01:80:c2:00:00:00, mcast_state = f, no super, port_mask = 0x1 7 : type: mcast, addr = 01:80:c2:00:00:03, mcast_state = f, no super, port_mask = 0x1 8 : type: mcast, addr = 01:80:c2:00:00:0e, mcast_state = f, no super, port_mask = 0x1 9 : type: mcast, addr = 01:00:5e:00:00:fc, mcast_state = f, no super, port_mask = 0x1 10 : type: mcast, addr = 01:00:5e:00:00:fb, mcast_state = f, no super, port_mask = 0x1 11 : type: mcast, addr = 33:33:d9:a5:84:4b, mcast_state = f, no super, port_mask = 0x1 12 : type: mcast, addr = 33:33:00:01:00:03, mcast_state = f, no super, port_mask = 0x1 13 : type: mcast, addr = 01:00:5e:7f:00:01, mcast_state = f, no super, port_mask = 0x1 14 : type: mcast, addr = 33:33:00:00:00:fb, mcast_state = f, no super, port_mask = 0x1 root@adc615:~# devmem2 0x0C23E008 /dev/mem opened. Memory mapped at address 0xffffa0935000. Read at address 0x0C23E008 (0xffffa0935008): 0x80000005 root@adc615:~# ifconfig eth0 eth0: flags=4163 mtu 1500 metric 1 inet 192.168.0.199 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::ad:c5ff:fe10:b001 prefixlen 64 scopeid 0x20 inet6 fde0:f442:bdc1:b700:ad:c5ff:fe10:b001 prefixlen 64 scopeid 0x0 ether 02:ad:c5:10:b0:01 txqueuelen 1000 (Ethernet) RX packets 20070 bytes 19140436 (18.2 MiB) RX errors 0 dropped 219 overruns 0 frame 0 TX packets 7145263 bytes 10398172980 (9.6 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@adc615:~# arp -a ^C root@adc615:~# arp ^C root@adc615:~# arp -a ? (192.168.0.10) at ae:b6:05:8c:c4:eb [ether] on eth0 ? (192.168.0.110) at 7c:57:58:84:b2:37 [ether] on eth0 root@adc615:~# ^C root@adc615:~# ^C root@adc615:~# ./switch-config --ndev eth0 -d K3 cpsw dump version (1) len(6328) ALE table dump ents(64): 0 : type: vlan , vid = 0, untag_force = 0x3, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3 1 : type: ucast, addr = 02:ad:c5:10:b0:01, ucast_type = persistant, port_num = 0x0, Secure 2 : type: mcast, vid = 0, addr = ff:ff:ff:ff:ff:ff, mcast_state = f, no super, port_mask = 0x3 3 : type: mcast, addr = 33:33:00:00:00:01, mcast_state = f, no super, port_mask = 0x1 4 : type: mcast, addr = 01:00:5e:00:00:01, mcast_state = f, no super, port_mask = 0x1 5 : type: mcast, addr = 33:33:ff:10:b0:01, mcast_state = f, no super, port_mask = 0x1 6 : type: mcast, addr = 01:80:c2:00:00:00, mcast_state = f, no super, port_mask = 0x1 7 : type: mcast, addr = 01:80:c2:00:00:03, mcast_state = f, no super, port_mask = 0x1 8 : type: mcast, addr = 01:80:c2:00:00:0e, mcast_state = f, no super, port_mask = 0x1 9 : type: mcast, addr = 01:00:5e:00:00:fc, mcast_state = f, no super, port_mask = 0x1 10 : type: mcast, addr = 01:00:5e:00:00:fb, mcast_state = f, no super, port_mask = 0x1 11 : type: mcast, addr = 33:33:d9:a5:84:4b, mcast_state = f, no super, port_mask = 0x1 12 : type: mcast, addr = 33:33:00:01:00:03, mcast_state = f, no super, port_mask = 0x1 13 : type: mcast, addr = 01:00:5e:7f:00:01, mcast_state = f, no super, port_mask = 0x1 14 : type: mcast, addr = 33:33:00:00:00:fb, mcast_state = f, no super, port_mask = 0x1 root@adc615:~# devmem2 0x0C23E008 /dev/mem opened. Memory mapped at address 0xffffb031c000. Read at address 0x0C23E008 (0xffffb031c008): 0x80000005 root@adc615:~# ifconfig eth0: flags=4163 mtu 1500 metric 1 inet 192.168.0.199 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::ad:c5ff:fe10:b001 prefixlen 64 scopeid 0x20 inet6 fde0:f442:bdc1:b700:ad:c5ff:fe10:b001 prefixlen 64 scopeid 0x0 ether 02:ad:c5:10:b0:01 txqueuelen 1000 (Ethernet) RX packets 34085 bytes 34795249 (33.1 MiB) RX errors 0 dropped 490 overruns 0 frame 0 TX packets 15020410 bytes 21864829190 (20.3 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=4169 mtu 65536 metric 1 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 46672 bytes 17929363 (17.0 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 46672 bytes 17929363 (17.0 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@adc615:~# ^C root@adc615:~# ./switch-config --ndev eth0 -d K3 cpsw dump version (1) len(6328) ALE table dump ents(64): 0 : type: mcast, addr = 33:33:00:00:00:01, mcast_state = f, no super, port_mask = 0x1 1 : type: ucast, addr = 02:ad:c5:10:b0:01, ucast_type = persistant, port_num = 0x0, Secure 2 : type: mcast, vid = 0, addr = ff:ff:ff:ff:ff:ff, mcast_state = f, no super, port_mask = 0x3 3 : type: mcast, addr = 01:00:5e:00:00:01, mcast_state = f, no super, port_mask = 0x1 4 : type: mcast, addr = 33:33:ff:10:b0:01, mcast_state = f, no super, port_mask = 0x1 5 : type: mcast, addr = 01:80:c2:00:00:00, mcast_state = f, no super, port_mask = 0x1 6 : type: mcast, addr = 01:80:c2:00:00:03, mcast_state = f, no super, port_mask = 0x1 7 : type: mcast, addr = 01:80:c2:00:00:0e, mcast_state = f, no super, port_mask = 0x1 8 : type: mcast, addr = 01:00:5e:00:00:fc, mcast_state = f, no super, port_mask = 0x1 9 : type: mcast, addr = 01:00:5e:00:00:fb, mcast_state = f, no super, port_mask = 0x1 10 : type: mcast, addr = 33:33:d9:a5:84:4b, mcast_state = f, no super, port_mask = 0x1 11 : type: mcast, addr = 33:33:00:01:00:03, mcast_state = f, no super, port_mask = 0x1 12 : type: mcast, addr = 01:00:5e:7f:00:01, mcast_state = f, no super, port_mask = 0x1 13 : type: mcast, addr = 33:33:00:00:00:fb, mcast_state = f, no super, port_mask = 0x1 14 : type: mcast, addr = 01:1b:19:00:00:00, mcast_state = f, no super, port_mask = 0x1 root@adc615:~# devmem2 0x0C23E008 /dev/mem opened. Memory mapped at address 0xffff8361a000. Read at address 0x0C23E008 (0xffff8361a008): 0x80000005 root@adc615:~# ^C root@adc615:~# ethtool -S ethtool: bad command line argument(s) For more information run ethtool -h root@adc615:~# ethtool -s ethtool: bad command line argument(s) For more information run ethtool -h root@adc615:~# ethtool etho netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device No data available root@adc615:~# ethtool etho0 netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device netlink error: no device matches name (offset 24) netlink error: No such device No data available root@adc615:~# ethtool eth0 Settings for eth0: Supported ports: [ MII ] Supported link modes: 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: No Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Auto-negotiation: on Port: MII PHYAD: 0 Transceiver: internal Supports Wake-on: d Wake-on: d Current message level: 0x000020f7 (8439) drv probe link ifdown ifup rx_err tx_err hw Link detected: yes root@adc615:~# ethtool eth0 -S Settings for eth0: Supported ports: [ MII ] Supported link modes: 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: No Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Auto-negotiation: on Port: MII PHYAD: 0 Transceiver: internal Supports Wake-on: d Wake-on: d Current message level: 0x000020f7 (8439) drv probe link ifdown ifup rx_err tx_err hw Link detected: yes root@adc615:~# ethtool -S eth0 NIC statistics: p0_rx_good_frames: 66968342 p0_rx_broadcast_frames: 568 p0_rx_multicast_frames: 22758 p0_rx_crc_errors: 0 p0_rx_oversized_frames: 0 p0_rx_undersized_frames: 0 p0_ale_drop: 0 p0_ale_overrun_drop: 0 p0_rx_octets: 3275652927 p0_tx_good_frames: 145898 p0_tx_broadcast_frames: 102 p0_tx_multicast_frames: 7863 p0_tx_octets: 146770220 p0_tx_64B_frames: 92568 p0_tx_65_to_127B_frames: 547069 p0_tx_128_to_255B_frames: 265826 p0_tx_256_to_511B_frames: 983115 p0_tx_512_to_1023B_frames: 1943857 p0_tx_1024B_frames: 63281805 p0_net_octets: 3422423147 p0_rx_bottom_fifo_drop: 0 p0_rx_port_mask_drop: 0 p0_rx_top_fifo_drop: 0 p0_ale_rate_limit_drop: 0 p0_ale_vid_ingress_drop: 846202 p0_ale_da_eq_sa_drop: 0 p0_ale_block_drop: 0 p0_ale_secure_drop: 0 p0_ale_auth_drop: 0 p0_ale_unknown_ucast: 0 p0_ale_unknown_ucast_bytes: 0 p0_ale_unknown_mcast: 0 p0_ale_unknown_mcast_bytes: 0 p0_ale_unknown_bcast: 0 p0_ale_unknown_bcast_bytes: 0 p0_ale_pol_match: 0 p0_ale_pol_match_red: 0 p0_ale_pol_match_yellow: 0 p0_ale_mcast_sa_drop: 0 p0_ale_dual_vlan_drop: 0 p0_ale_len_err_drop: 0 p0_ale_ip_next_hdr_drop: 0 p0_ale_ipv4_frag_drop: 0 p0_tx_mem_protect_err: 0 p0_tx_pri0: 0 p0_tx_pri1: 0 p0_tx_pri2: 0 p0_tx_pri3: 0 p0_tx_pri4: 0 p0_tx_pri5: 0 p0_tx_pri6: 0 p0_tx_pri7: 0 p0_tx_pri0_bcnt: 0 p0_tx_pri1_bcnt: 0 p0_tx_pri2_bcnt: 0 p0_tx_pri3_bcnt: 0 p0_tx_pri4_bcnt: 0 p0_tx_pri5_bcnt: 0 p0_tx_pri6_bcnt: 0 p0_tx_pri7_bcnt: 0 p0_tx_pri0_drop: 0 p0_tx_pri1_drop: 0 p0_tx_pri2_drop: 0 p0_tx_pri3_drop: 0 p0_tx_pri4_drop: 0 p0_tx_pri5_drop: 0 p0_tx_pri6_drop: 0 p0_tx_pri7_drop: 0 p0_tx_pri0_drop_bcnt: 0 p0_tx_pri1_drop_bcnt: 0 p0_tx_pri2_drop_bcnt: 0 p0_tx_pri3_drop_bcnt: 0 p0_tx_pri4_drop_bcnt: 0 p0_tx_pri5_drop_bcnt: 0 p0_tx_pri6_drop_bcnt: 0 p0_tx_pri7_drop_bcnt: 0 rx_good_frames: 155660 rx_broadcast_frames: 109 rx_multicast_frames: 9702 rx_pause_frames: 0 rx_crc_errors: 0 rx_align_code_errors: 0 rx_oversized_frames: 0 rx_jabber_frames: 0 rx_undersized_frames: 0 rx_fragments: 0 ale_drop: 9762 ale_overrun_drop: 0 rx_octets: 148737271 tx_good_frames: 66968342 tx_broadcast_frames: 568 tx_multicast_frames: 22758 tx_pause_frames: 0 tx_deferred_frames: 0 tx_collision_frames: 0 tx_single_coll_frames: 0 tx_mult_coll_frames: 0 tx_excessive_collisions: 0 tx_late_collisions: 0 rx_ipg_error: 0 tx_carrier_sense_errors: 0 tx_octets: 3279037735 tx_64B_frames: 90627 tx_65_to_127B_frames: 556511 tx_128_to_255B_frames: 267153 tx_256_to_511B_frames: 983171 tx_512_to_1023B_frames: 1944113 tx_1024B_frames: 63282427 net_octets: 3427775006 rx_bottom_fifo_drop: 0 rx_port_mask_drop: 9762 rx_top_fifo_drop: 0 ale_rate_limit_drop: 0 ale_vid_ingress_drop: 9670 ale_da_eq_sa_drop: 0 ale_block_drop: 0 ale_secure_drop: 0 ale_auth_drop: 0 ale_unknown_ucast: 145849 ale_unknown_ucast_bytes: 147561530 ale_unknown_mcast: 9702 ale_unknown_mcast_bytes: 1163372 ale_unknown_bcast: 109 ale_unknown_bcast_bytes: 12369 ale_pol_match: 0 ale_pol_match_red: 0 ale_pol_match_yellow: 0 ale_mcast_sa_drop: 0 ale_dual_vlan_drop: 0 ale_len_err_drop: 0 ale_ip_next_hdr_drop: 0 ale_ipv4_frag_drop: 0 iet_rx_assembly_err: 0 iet_rx_assembly_ok: 0 iet_rx_smd_err: 0 iet_rx_frag: 0 iet_tx_hold: 0 iet_tx_frag: 0 tx_mem_protect_err: 0 tx_pri0: 66968342 tx_pri1: 0 tx_pri2: 0 tx_pri3: 0 tx_pri4: 0 tx_pri5: 0 tx_pri6: 0 tx_pri7: 0 tx_pri0_bcnt: 3275652927 tx_pri1_bcnt: 0 tx_pri2_bcnt: 0 tx_pri3_bcnt: 0 tx_pri4_bcnt: 0 tx_pri5_bcnt: 0 tx_pri6_bcnt: 0 tx_pri7_bcnt: 0 tx_pri0_drop: 0 tx_pri1_drop: 0 tx_pri2_drop: 0 tx_pri3_drop: 0 tx_pri4_drop: 0 tx_pri5_drop: 0 tx_pri6_drop: 0 tx_pri7_drop: 0 tx_pri0_drop_bcnt: 0 tx_pri1_drop_bcnt: 0 tx_pri2_drop_bcnt: 0 tx_pri3_drop_bcnt: 0 tx_pri4_drop_bcnt: 0 tx_pri5_drop_bcnt: 0 tx_pri6_drop_bcnt: 0 tx_pri7_drop_bcnt: 0 root@adc615:~# ^C root@adc615:~# ethtool -S eth0 NIC statistics: p0_rx_good_frames: 66969155 p0_rx_broadcast_frames: 665 p0_rx_multicast_frames: 23474 p0_rx_crc_errors: 0 p0_rx_oversized_frames: 0 p0_rx_undersized_frames: 0 p0_ale_drop: 0 p0_ale_overrun_drop: 0 p0_rx_octets: 3275794687 p0_tx_good_frames: 145898 p0_tx_broadcast_frames: 102 p0_tx_multicast_frames: 7863 p0_tx_octets: 146770220 p0_tx_64B_frames: 92865 p0_tx_65_to_127B_frames: 547219 p0_tx_128_to_255B_frames: 265826 p0_tx_256_to_511B_frames: 983481 p0_tx_512_to_1023B_frames: 1943857 p0_tx_1024B_frames: 63281805 p0_net_octets: 3422564907 p0_rx_bottom_fifo_drop: 0 p0_rx_port_mask_drop: 0 p0_rx_top_fifo_drop: 0 p0_ale_rate_limit_drop: 0 p0_ale_vid_ingress_drop: 847015 p0_ale_da_eq_sa_drop: 0 p0_ale_block_drop: 0 p0_ale_secure_drop: 0 p0_ale_auth_drop: 0 p0_ale_unknown_ucast: 0 p0_ale_unknown_ucast_bytes: 0 p0_ale_unknown_mcast: 0 p0_ale_unknown_mcast_bytes: 0 p0_ale_unknown_bcast: 0 p0_ale_unknown_bcast_bytes: 0 p0_ale_pol_match: 0 p0_ale_pol_match_red: 0 p0_ale_pol_match_yellow: 0 p0_ale_mcast_sa_drop: 0 p0_ale_dual_vlan_drop: 0 p0_ale_len_err_drop: 0 p0_ale_ip_next_hdr_drop: 0 p0_ale_ipv4_frag_drop: 0 p0_tx_mem_protect_err: 0 p0_tx_pri0: 0 p0_tx_pri1: 0 p0_tx_pri2: 0 p0_tx_pri3: 0 p0_tx_pri4: 0 p0_tx_pri5: 0 p0_tx_pri6: 0 p0_tx_pri7: 0 p0_tx_pri0_bcnt: 0 p0_tx_pri1_bcnt: 0 p0_tx_pri2_bcnt: 0 p0_tx_pri3_bcnt: 0 p0_tx_pri4_bcnt: 0 p0_tx_pri5_bcnt: 0 p0_tx_pri6_bcnt: 0 p0_tx_pri7_bcnt: 0 p0_tx_pri0_drop: 0 p0_tx_pri1_drop: 0 p0_tx_pri2_drop: 0 p0_tx_pri3_drop: 0 p0_tx_pri4_drop: 0 p0_tx_pri5_drop: 0 p0_tx_pri6_drop: 0 p0_tx_pri7_drop: 0 p0_tx_pri0_drop_bcnt: 0 p0_tx_pri1_drop_bcnt: 0 p0_tx_pri2_drop_bcnt: 0 p0_tx_pri3_drop_bcnt: 0 p0_tx_pri4_drop_bcnt: 0 p0_tx_pri5_drop_bcnt: 0 p0_tx_pri6_drop_bcnt: 0 p0_tx_pri7_drop_bcnt: 0 rx_good_frames: 156134 rx_broadcast_frames: 124 rx_multicast_frames: 10064 rx_pause_frames: 0 rx_crc_errors: 0 rx_align_code_errors: 0 rx_oversized_frames: 0 rx_jabber_frames: 0 rx_undersized_frames: 0 rx_fragments: 0 ale_drop: 10236 ale_overrun_drop: 0 rx_octets: 148788297 tx_good_frames: 66969155 tx_broadcast_frames: 665 tx_multicast_frames: 23474 tx_pause_frames: 0 tx_deferred_frames: 0 tx_collision_frames: 0 tx_single_coll_frames: 0 tx_mult_coll_frames: 0 tx_excessive_collisions: 0 tx_late_collisions: 0 rx_ipg_error: 0 tx_carrier_sense_errors: 0 tx_octets: 3279182747 tx_64B_frames: 90724 tx_65_to_127B_frames: 557276 tx_128_to_255B_frames: 267197 tx_256_to_511B_frames: 983537 tx_512_to_1023B_frames: 1944128 tx_1024B_frames: 63282427 net_octets: 3427971044 rx_bottom_fifo_drop: 0 rx_port_mask_drop: 10236 rx_top_fifo_drop: 0 ale_rate_limit_drop: 0 ale_vid_ingress_drop: 10144 ale_da_eq_sa_drop: 0 ale_block_drop: 0 ale_secure_drop: 0 ale_auth_drop: 0 ale_unknown_ucast: 145946 ale_unknown_ucast_bytes: 147567738 ale_unknown_mcast: 10064 ale_unknown_mcast_bytes: 1206378 ale_unknown_bcast: 124 ale_unknown_bcast_bytes: 14181 ale_pol_match: 0 ale_pol_match_red: 0 ale_pol_match_yellow: 0 ale_mcast_sa_drop: 0 ale_dual_vlan_drop: 0 ale_len_err_drop: 0 ale_ip_next_hdr_drop: 0 ale_ipv4_frag_drop: 0 iet_rx_assembly_err: 0 iet_rx_assembly_ok: 0 iet_rx_smd_err: 0 iet_rx_frag: 0 iet_tx_hold: 0 iet_tx_frag: 0 tx_mem_protect_err: 0 tx_pri0: 66969155 tx_pri1: 0 tx_pri2: 0 tx_pri3: 0 tx_pri4: 0 tx_pri5: 0 tx_pri6: 0 tx_pri7: 0 tx_pri0_bcnt: 3275794687 tx_pri1_bcnt: 0 tx_pri2_bcnt: 0 tx_pri3_bcnt: 0 tx_pri4_bcnt: 0 tx_pri5_bcnt: 0 tx_pri6_bcnt: 0 tx_pri7_bcnt: 0 tx_pri0_drop: 0 tx_pri1_drop: 0 tx_pri2_drop: 0 tx_pri3_drop: 0 tx_pri4_drop: 0 tx_pri5_drop: 0 tx_pri6_drop: 0 tx_pri7_drop: 0 tx_pri0_drop_bcnt: 0 tx_pri1_drop_bcnt: 0 tx_pri2_drop_bcnt: 0 tx_pri3_drop_bcnt: 0 tx_pri4_drop_bcnt: 0 tx_pri5_drop_bcnt: 0 tx_pri6_drop_bcnt: 0 tx_pri7_drop_bcnt: 0 root@adc615:~#