[dpdk-dev] [PATCH 2/5] eal: extract function eal_parse_sysfs_valuef

2016-09-01 Thread Shreyansh Jain
Hi Stephen, On Thursday 01 September 2016 12:00 PM, Stephen Hemminger wrote: > On Thu, 1 Sep 2016 10:11:52 +0530 > Shreyansh Jain wrote: > >> From: Jan Viktorin >> >> From: Jan Viktorin >> >> The eal_parse_sysfs_value function accepts a filename however, such >> interface introduces race-condit

[dpdk-dev] [PATCH 2/5] eal: extract function eal_parse_sysfs_valuef

2016-09-01 Thread Shreyansh Jain
From: Jan Viktorin From: Jan Viktorin The eal_parse_sysfs_value function accepts a filename however, such interface introduces race-conditions to the code. Introduce the variant of this function that accepts an already opened file instead of a filename. Signed-off-by: Jan Viktorin Signed-off-

[dpdk-dev] [PATCH 2/5] eal: extract function eal_parse_sysfs_valuef

2016-08-31 Thread Stephen Hemminger
On Thu, 1 Sep 2016 10:11:52 +0530 Shreyansh Jain wrote: > From: Jan Viktorin > > From: Jan Viktorin > > The eal_parse_sysfs_value function accepts a filename however, such > interface introduces race-conditions to the code. Introduce the > variant of this function that accepts an already open