I've added/fixed switch driver for my BCM4706 and now my bgmac driver seems to receive VLAN-tagged packets. I believe that "08 06 00 01" is VLAN 1 tag (08 06 0V ID).
Unfortunately it seems that system somehow ignores these packets, ndo_start_xmit is never called in bgmac. Can you tell me what is responsive for handling that packets, validating them / filtering, etc.? I may have disabled something in "menuconfig" (like iptables or sth), so any tips are welcomed :) Btw. does the attached dump look sane to you? Is this how VLAN-tagged ARP packet should look like? -- Rafał
bgmac: 0000 ff ff ff ff ff ff 00 1d ba 19 9e db 81 00 00 01 Dst: ff:ff:ff:ff:ff:ff Src: 00:1d:ba:19:9e:db Type: 0x0806 (ARP) Hw type: 00 01 0010 08 06 00 01 0014 08 00 06 04 00 01 00 1d ba 19 9e db c0 a8 01 02 Prot: 08 00 (IP) ... Sender MAC: 00:1d:ba:19:9e:db Sender IP: 192.168.1.2 0024 00 00 00 00 00 00 c0 a8 01 01 00 00 00 00 00 00 Target MAC: 00:00:00_00:00:00 Target IP: 192.168.1.1 Unknown (00 00 00 00 00 00) 0034 00 00 00 00 00 00 00 00 00 00 00 00 f5 3f d8 c1 Unknown wireshark: 0000 ff ff ff ff ff ff 00 1d ba 19 9e db 08 06 00 01 Dst: ff:ff:ff:ff:ff:ff Src: 00:1d:ba:19:9e:db Type: 0x0806 (ARP) Hw type: 00 01 0010 08 00 06 04 00 01 00 1d ba 19 9e db c0 a8 01 02 Prot: 08 00 (IP) ... Sender MAC: 00:1d:ba:19:9e:db Sender IP: 192.168.1.2 0020 00 00 00 00 00 00 c0 a8 01 01 Target MAC: 00:00:00_00:00:00 Target IP: 192.168.1.1
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
