summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2016-04-06 15:52:30 +0300
committerDaniele Di Proietto <diproiettod@vmware.com>2016-04-06 11:38:32 -0700
commit27955e9852ec3a58789195b1fe7b00355f2f16df (patch)
tree288151e0d78ce6bcc8e3f41af4e207b786791fb8 /lib
parent7d433ae57ebb90cd68e8fa948a096f619ac4e2d8 (diff)
downloadopenvswitch-27955e9852ec3a58789195b1fe7b00355f2f16df.tar.gz
dpif-netdev: report numa node number on pmd thread create failure
Since PMD threads are placed on the NUMA node of the port regardless of a possible pmd-cpu-mask setting, this can lead to a somewhat confusing "out of unpinned cores" message - there might be plenty of available cores in the mask but they cannot be used if the port is on different NUMA node than the cores. Report the NUMA node number to help diagnosing the issue. Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1295952 Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/dpif-netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 119dc2dd4..d7d97045a 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -3145,7 +3145,7 @@ dp_netdev_set_pmds_on_numa(struct dp_netdev *dp, int numa_id)
n_unpinned = ovs_numa_get_n_unpinned_cores_on_numa(numa_id);
if (!n_unpinned) {
VLOG_ERR("Cannot create pmd threads due to out of unpinned "
- "cores on numa node");
+ "cores on numa node %d", numa_id);
return;
}