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

Function nfp_cpp_interface

dpdk/drivers/net/nfp/nfpcore/nfp_cppcore.c:191–198  ·  view source on GitHub ↗

* Retrieve the Interface ID of the NFP * * @param cpp * NFP CPP handle * * @return * NFP CPP Interface ID */

Source from the content-addressed store, hash-verified

189 * NFP CPP Interface ID
190 */
191uint16_t
192nfp_cpp_interface(struct nfp_cpp *cpp)
193{
194 if (cpp == NULL)
195 return NFP_CPP_INTERFACE(NFP_CPP_INTERFACE_TYPE_INVALID, 0, 0);
196
197 return cpp->interface;
198}
199
200/**
201 * Retrieve the driver need lock flag

Callers 9

nfp_fw_uploadFunction · 0.85
nfp_xpb_to_cppFunction · 0.85
nfp_cpp_mutex_initFunction · 0.85
nfp_cpp_mutex_allocFunction · 0.85
nfp_cpp_mutex_unlockFunction · 0.85
nfp_cpp_mutex_trylockFunction · 0.85
nfp_cpp_mutex_reclaimFunction · 0.85
nfp_get_pcie_port_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected