use the netdev_priv() macro instead of directly accessing dev->priv