Hello,
ifconfig -v ixg0 shows:
ixg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=fff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
capabilities=fff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
capabilities=fff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6,LRO>
enabled=0
ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
ec_enabled=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
address: a0:36:9f:d4:3c:08
media: Ethernet autoselect (10GbaseSR full-duplex,rxpause,txpause)
status: active
input: 22429456 packets, 12404771626 bytes, 132266 multicasts
output: 10573554 packets, 0 bytes
...
The outgoing packets are counted correctly. The outgoing bytes remain at 0.
Kernel version: NetBSD 7.99.70. Older Versions have the same problem.
Programs like the snmpd which the counter evaluate provide wrong data.
Maybe someone can take a look at the code.
Thank you for your efforts
Regards
Uwe