static void query_iface_rxqueue_count_from_name(const char *name, uint32_t *rx_queues)
{
int ret = 0;
- struct ethtool_cmd ecmd;
struct ethtool_channels edata;
struct ifreq ifr;
int fd;
/* Loop through interfaces, looking for given IP address */
for (ifptr = iflist; ifptr != NULL; ifptr = ifptr->ifa_next) {
uint64_t if_speed = 1000 * 1000 * 1000; /* 1Gbps */
- uint64_t rx_queues = 0;
+ uint32_t rx_queues = 0;
if (!ifptr->ifa_addr || !ifptr->ifa_netmask) {
continue;