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

Function nfp_function_id_get

dpdk/drivers/net/nfp/nfp_ethdev.c:243–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243static uint8_t
244nfp_function_id_get(const struct nfp_pf_dev *pf_dev,
245 uint8_t phy_port)
246{
247 if (pf_dev->multi_pf.enabled)
248 return pf_dev->multi_pf.function_id;
249
250 return phy_port;
251}
252
253static void
254nfp_net_beat_timer(void *arg)

Callers 3

nfp_net_closeFunction · 0.85
nfp_init_app_fw_nicFunction · 0.85
nfp_net_force_port_downFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected