Home
last modified time | relevance | path

Searched refs:subs (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/net/failsafe/
H A Dfailsafe_private.h154 struct sub_device *subs; /* shared between processes */ member
303 (&PRIV(dev)->subs[0])
308 : (PRIV(dev)->subs[PRIV(dev)->subs_tx].state < DEV_PROBED ? NULL \
309 : &PRIV(dev)->subs[PRIV(dev)->subs_tx]))
379 struct sub_device *subs; in fs_find_next() local
382 subs = PRIV(dev)->subs; in fs_find_next()
385 if (subs[sid].state >= min_state) in fs_find_next()
392 return &subs[sid]; in fs_find_next()
H A Dfailsafe.c45 PRIV(dev)->subs = rte_zmalloc(NULL, in fs_sub_device_alloc()
48 if (PRIV(dev)->subs == NULL) { in fs_sub_device_alloc()
54 PRIV(dev)->subs[i - 1].next = PRIV(dev)->subs + i; in fs_sub_device_alloc()
55 PRIV(dev)->subs[i - 1].next = PRIV(dev)->subs; in fs_sub_device_alloc()
293 rte_free(PRIV(dev)->subs); in fs_eth_dev_create()
H A Dfailsafe_args.c228 sdev = &priv->subs[head]; in fs_parse_device_param()
H A Dfailsafe_ops.c444 rxq->sdev = PRIV(dev)->subs; in fs_rx_queue_setup()
686 rte_free(PRIV(dev)->subs); in failsafe_eth_dev_close()