[dpdk-dev] [PATCH v6] eal: provide API for querying valid socket id's
Burakov, Anatoly
anatoly.burakov at intel.com
Sat Mar 31 15:35:41 CEST 2018
On 27-Mar-18 5:24 PM, Thomas Monjalon wrote:
> 22/03/2018 13:36, Anatoly Burakov:
>> --- a/lib/librte_eal/common/include/rte_eal.h
>> +++ b/lib/librte_eal/common/include/rte_eal.h
>> @@ -57,6 +57,9 @@ enum rte_proc_type_t {
>> struct rte_config {
>> uint32_t master_lcore; /**< Id of the master lcore */
>> uint32_t lcore_count; /**< Number of available logical cores. */
>> + uint32_t numa_node_count; /**< Number of detected NUMA nodes. */
>> + uint32_t numa_nodes[RTE_MAX_NUMA_NODES];
>> + /**< List of detected numa nodes. */
>
> Please keep this comment on the same line if it's below 99 chars.
If this is allowed, can we fix checkpatch to not report error in these
cases?
--
Thanks,
Anatoly
More information about the dev
mailing list