[dpdk-dev] [PATCH v1 1/6] net/af_xdp: introduce AF_XDP PMD driver

Stephen Hemminger stephen at networkplumber.org
Fri Mar 1 19:32:59 CET 2019


On Fri,  1 Mar 2019 16:09:42 +0800
Xiaolong Ye <xiaolong.ye at intel.com> wrote:

> +
> +static int
> +rte_pmd_af_xdp_probe(struct rte_vdev_device *dev)
> +{
> +	struct rte_kvargs *kvlist;
> +	char *if_name = NULL;
> +	int queue_idx = ETH_AF_XDP_DFLT_QUEUE_IDX;
> +	struct rte_eth_dev *eth_dev;
> +	const char *name;
> +	int ret;
> +
> +	RTE_LOG(INFO, PMD, "Initializing pmd_af_packet for %s\n",
> +		rte_vdev_device_name(dev));

The PMD log type is being phased out. I plan to mark it as deprecated.
All new drivers must use their own log types (see other every other device driver
for how to do this).


More information about the dev mailing list