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

Function nfp_cpp_serial

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

* Retrieve the Serial ID of the NFP * * @param cpp * NFP CPP handle * @param serial * Pointer to NFP serial number * * @return * Length of NFP serial number */

Source from the content-addressed store, hash-verified

153 * Length of NFP serial number
154 */
155uint32_t
156nfp_cpp_serial(struct nfp_cpp *cpp,
157 const uint8_t **serial)
158{
159 *serial = &cpp->serial[0];
160
161 return sizeof(cpp->serial);
162}
163
164/**
165 * Set the private instance owned data of a nfp_cpp struct

Callers 1

nfp_fw_uploadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected