[dpdk-dev] [PATCH 18/32] net/dpaa2: introducing dpaa2 pmd driver
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Dec 6 22:08:05 CET 2016
2016-12-06 19:49, Ferruh Yigit:
> On 12/4/2016 6:17 PM, Hemant Agrawal wrote:
> > + if (rte_eal_process_type() == RTE_PROC_PRIMARY) {
> > + eth_dev->data->dev_private = rte_zmalloc(
> > + "ethdev private structure",
> > + eth_drv->dev_private_size,
> > + RTE_CACHE_LINE_SIZE);
> > + if (eth_dev->data->dev_private == NULL)
> > + rte_panic("Cannot allocate memzone for private port"
> > + " data\n");
>
> Should this error kill all app, or return an error for this PMD that is
> probed.
It cannot be a question :)
rte_panic() inside libs or drivers is forbidden (and existing ones must
be removed).
More information about the dev
mailing list