Issue: 6837
When using netmap pipes (with lb, for example), avoid direct hardware
related IOCTLs that will fail (not supported with pipes).
(cherry picked from commit
af529a56a9bcb37bae5243236a4505fff0df268b)
}
}
- int ring_count = NetmapGetRSSCount(aconf->iface_name);
+ int ring_count = 0;
+ if (aconf->in.real)
+ ring_count = NetmapGetRSSCount(aconf->iface_name);
if (strlen(aconf->iface_name) > 0 &&
(aconf->iface_name[strlen(aconf->iface_name) - 1] == '^' ||
aconf->iface_name[strlen(aconf->iface_name) - 1] == '*')) {