[dpdk-dev] [PATCH v3 1/5] net/af_xdp: introduce AF XDP PMD driver
Stephen Hemminger
stephen at networkplumber.org
Thu Mar 21 16:36:34 CET 2019
On Thu, 21 Mar 2019 17:18:41 +0800
Xiaolong Ye <xiaolong.ye at intel.com> wrote:
> +
> +RTE_PMD_REGISTER_VDEV(eth_af_xdp, pmd_af_xdp_drv);
The convention in other network drivers is to use net_XXX in the vdev name.
In AF_XDP that would be:
RTE_PMD_REGISTER_VDEV(net_af_xdp, pmd_af_xdp_drv);
About naming, I would just drop AF_ from the name everywhere, the driver
is about running over XDP, and the "AF_" is just a prefix for address family.
Why not:
net/xdp
More information about the dev
mailing list