On 06/23/14 at 12:37pm, Alex Wang wrote: > This will be the default setting for dpdk iface. > > Signed-off-by: Alex Wang <al...@nicira.com>
I think you can remove the NR_QUEUE #define in lib/dpif-netdev.h with this patch. > --- > lib/netdev-dpdk.c | 47 ++++++++++++++++++++++++++++++++++++++++------- > 1 file changed, 40 insertions(+), 7 deletions(-) > > @@ -725,7 +758,7 @@ netdev_dpdk_send(struct netdev *netdev, struct > dpif_packet **pkts, int cnt, > int next_tx_idx = 0; > int dropped = 0; > > - qid = rte_lcore_id() % NR_QUEUE; > + qid = rte_lcore_id(); This worries me a bit. In a CPU hotplug scenario and if a handler is manually re-pinned you might access out of bands here, right? _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev