dpif-netdev: Rename flow offload thread.
ovs_strlcpy silently fails to copy the thread name if it is too long.
Rename the flow offload thread to differentiate it from the main thread.
Fixes: ("dpif-netdev: do hw flow offload in a thread")
@@ -2742,8 +2742,7 @@ queue_netdev_flow_del(struct dp_netdev_pmd_thread *pmd,
if (ovsthread_once_start(&offload_thread_once)) {
xpthread_cond_init(&dp_flow_offload.cond, NULL);
- ovs_thread_create("dp_netdev_flow_offload",
- dp_netdev_flow_offload_main, NULL);
+ ovs_thread_create("hw_offload", dp_netdev_flow_offload_main, NULL);
ovsthread_once_done(&offload_thread_once);
}
@@ -2831,8 +2830,7 @@ queue_netdev_flow_put(struct dp_netdev_pmd_thread *pmd,
if (ovsthread_once_start(&offload_thread_once)) {
xpthread_cond_init(&dp_flow_offload.cond, NULL);
- ovs_thread_create("dp_netdev_flow_offload",
- dp_netdev_flow_offload_main, NULL);
+ ovs_thread_create("hw_offload", dp_netdev_flow_offload_main, NULL);
ovsthread_once_done(&offload_thread_once);
}
