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

Function roc_idev_cpt_set

dpdk/drivers/common/cnxk/roc_idev.c:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void
263roc_idev_cpt_set(struct roc_cpt *cpt)
264{
265 struct idev_cfg *idev = idev_get_cfg();
266
267 if (idev != NULL)
268 __atomic_store_n(&idev->cpt, cpt, __ATOMIC_RELEASE);
269}
270
271struct roc_nix *
272roc_idev_npa_nix_get(void)

Callers 2

roc_cpt_dev_initFunction · 0.85
roc_cpt_dev_finiFunction · 0.85

Calls 1

idev_get_cfgFunction · 0.85

Tested by

no test coverage detected