app/testpmd: initalize port_numa and ring_numa
Quoted 11 lines
-----Original Message-----
From: Pei, Yulong
Sent: Monday, April 24, 2017 3:16 PM
To: [email protected]
Cc: Richardson, Bruce <[email protected]>; Wu, Jingjing <[email protected]>; [email protected]; Pei, Yulong <[email protected]>
Subject: [PATCH] app/testpmd: initalizeport_numaandring_numa
Quoted 7 lines
Previous
numa_support= 0 by default, it need to add --numa to testpmd command line to enable numa, soport_numaandring_numawere initalized at functionlaunch_args_parse(), now testpmd changenuma_support= 1 as default, soport_numaandring_numaalso need to initalize by default, otherwiseport->socket_idwill be probed to wrong value.Signed-off-by Yulong Pei <[email protected]>
Thanks!
Patch is fine. Could you add Fixes line for this patch? I think should be this commit?
commit 999b2ee0fe4511c44462b29566f264e8d9326e1b
Author: Bruce Richardson <[email protected]> Date: Fri Mar 24 17:00:38 2017 +0000
app/testpmd: enable NUMA support by default
There is little reason for NUMA support in testpmd to be off by default, so enable it, and add in a new commandline parameter to disable it, if that is wanted by users.
Hi Jingjing,
Thanks for the review, already sent v4 patch and fixes line in it.
Best Regards
Yulong Pei
-----Original Message-----
From: Wu, Jingjing
Sent: Friday, April 28, 2017 3:36 PM
To: Pei, Yulong <[email protected]>; [email protected]
Cc: Richardson, Bruce <[email protected]>; [email protected]
Subject: RE: [PATCH] app/testpmd: initalize port_numa and ring_numa
Quoted 9 lines
-----Original Message-----
From: Pei, Yulong
Sent: Monday, April 24, 2017 3:16 PM
To: [email protected]
Cc: Richardson, Bruce <[email protected]>; Wu, Jingjing <[email protected]>; [email protected]; Pei, Yulong <[email protected]>
Subject: [PATCH] app/testpmd: initalizeport_numaandring_numa
Quoted 7 lines
Previous
numa_support= 0 by default, it need to add --numa to testpmd command line to enable numa, soport_numaandring_numawere initalized at functionlaunch_args_parse(), now testpmd changenuma_support= 1 as default, soport_numaandring_numaalso need to initalize by default, otherwiseport->socket_idwill be probed to wrong value.Signed-off-by Yulong Pei <[email protected]>
Thanks!
Patch is fine. Could you add Fixes line for this patch? I think should be this commit?
commit 999b2ee0fe4511c44462b29566f264e8d9326e1b
Author: Bruce Richardson <[email protected]> Date: Fri Mar 24 17:00:38 2017 +0000
app/testpmd: enable NUMA support by default
There is little reason for NUMA support in testpmd to be off by default, so enable it, and add in a new commandline parameter to disable it, if that is wanted by users.