MCPcopy Create free account
hub / github.com/F-Stack/f-stack / match_ops

Function match_ops

dpdk/drivers/raw/ifpga/base/opae_hw_api.c:297–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297static struct opae_adapter_ops *match_ops(struct opae_adapter *adapter)
298{
299 struct opae_adapter_data *data;
300
301 if (!adapter || !adapter->data)
302 return NULL;
303
304 data = adapter->data;
305
306 if (data->type == OPAE_FPGA_PCI)
307 return &ifpga_adapter_ops;
308
309 return NULL;
310}
311
312static void opae_mutex_init(pthread_mutex_t *mutex)
313{

Callers 1

opae_adapter_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected