Thread (24 messages) 24 messages, 4 authors, 2018-04-04

Re: [PATCH v3] eal: add function to return number of detected sockets

From: Burakov, Anatoly <hidden>
Date: 2018-02-05 17:39:46

On 05-Feb-18 4:37 PM, Anatoly Burakov wrote:
During lcore scan, find maximum socket ID and store it.

Signed-off-by: Anatoly Burakov <redacted>
---

Notes:
     v3:
     - Added ABI backwards compatibility
     
     v2:
     - checkpatch changes
     - check socket before deciding if the core is not to be used

  lib/librte_eal/common/eal_common_lcore.c  | 37 +++++++++++++++++++++----------
  lib/librte_eal/common/include/rte_eal.h   | 25 +++++++++++++++++++++
  lib/librte_eal/common/include/rte_lcore.h |  8 +++++++
  lib/librte_eal/linuxapp/eal/eal.c         | 27 +++++++++++++++++++++-
  lib/librte_eal/rte_eal_version.map        |  9 +++++++-
  5 files changed, 92 insertions(+), 14 deletions(-)
This patch does not break ABI, but does it in a very ugly way. Is it 
worth it?

-- 
Thanks,
Anatoly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help