cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wierzmar
Visitor
Visitor
368 Views
Registered: ‎04-08-2021

ORAN IF IP: xorif usage question

Jump to solution

Hi,

I would like to use xorif library from different Linux processes. What happens if get statistics from one process (xorif_get_fhi_eth_stats()) and call some API (e.g. xorif_set_cc_frames_per_symbol()) from the other process at the same time? Will one process be blocked while the other is accessing the device?

Thank you.

--

Marcin

0 Kudos
1 Solution

Accepted Solutions
xud
Xilinx Employee
Xilinx Employee
339 Views
Registered: ‎08-02-2007

@wierzmar 

The API calls, e.g. xorif_get_fhi_eth_stats() and xorif_set_cc_frames_per_symbol() are calls into the libxorif library. The library is single-threaded and does not support muti-threaded operation, also it does not create or use any processes by itself - it has to be used as part of an application. Attempt to control the h/w from 2 s/w drivers simultaneously is not supported (behaviour is un-defined)

View solution in original post

1 Reply
xud
Xilinx Employee
Xilinx Employee
340 Views
Registered: ‎08-02-2007

@wierzmar 

The API calls, e.g. xorif_get_fhi_eth_stats() and xorif_set_cc_frames_per_symbol() are calls into the libxorif library. The library is single-threaded and does not support muti-threaded operation, also it does not create or use any processes by itself - it has to be used as part of an application. Attempt to control the h/w from 2 s/w drivers simultaneously is not supported (behaviour is un-defined)

View solution in original post