[dpdk-dev] [PATCH v10 12/20] unci: add netdevice ops

Stephen Hemminger stephen at networkplumber.org
Wed Jul 5 21:12:52 CEST 2017


On Tue,  4 Jul 2017 17:13:29 +0100
Ferruh Yigit <ferruh.yigit at intel.com> wrote:

> +static void unci_net_stats64(struct net_device *dev,
> +		struct rtnl_link_stats64 *stats)
> +{
> +	int err;
> +
> +	err = unci_nl_exec(UNCI_REQ_GET_STATS, dev, NULL, 0,
> +			stats, sizeof(struct rtnl_link_stats64));

Do tail call here

	return unci_nl_exec(UNCI_REQ_GET_STATS, ...


More information about the dev mailing list