func (stats *DeviceStats) PrintStats() {
	dev := stats.device.getIxyDev()
	var addr string
	if stats.device != nil {
		addr = dev.PciAddr
	} else {
		addr = "???"
	}
	fmt.Printf("[%v] RX: %v bytes %v packets\n", addr, stats.rxBytes, stats.rxPackets)
	fmt.Printf("[%v] TX: %v bytes %v packets\n", addr, stats.txBytes, stats.txPackets)
}
PrintStats prints stats
package driver
import (
	"fmt"
	"time"
)
type DeviceStats struct {
	device IxyInterface
	rxPackets, txPackets, rxBytes, txBytes uint64
}