+ struct rte_eth_stats stats;
+ int err;
+
+ /* Attempt to read current stats. */
+ err = rte_eth_stats_get(PORT_ID(sdev), &stats);
+ if (err)
+ WARN("Could not access latest statistics from sub-device %d,"
+ " using latest snapshot.\n", SUB_ID(sdev));