lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <YgYixOmTSI7jxALK@pengutronix.de> Date: Fri, 11 Feb 2022 09:48:04 +0100 From: Oleksij Rempel <o.rempel@...gutronix.de> To: netdev@...r.kernel.org Subject: packet stats validation Hi all, I'm implementing stats64 for the ksz switch and by validating my implementation found different by count methods in different sub systems. For example, i send 64 byte packet with: mausezahn enp1s0f3 -c 1 -a rand -p 64 - tshark is recognizing 64 byte frame with 50 byte data - Intel igb is counting it as 64 byte - ksz9477 switch HW counter is counting it as 68 bytes packet - linux bridge is counting it as 50 byte packet Can you please help me to understand this differences? Do linux bridge is doing it correct or it is a bug? ksz9477 is probably adding a tag and counting tagged packets. Should this number be provided to stats64? Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Powered by blists - more mailing lists