[[PATCH v1] 3/8] net/rnp: add device init and uninit
11
caowenbo at mucse.com
Wed Aug 2 04:23:13 CEST 2023
Hi Stephen,
Why have two labels for same place, to later patches insert code here?
For this question the new code in rnp_init_port_resource
Will zmalloc dev->data->mac_addrs and dev->data->hash_mac_addrs
So I wish to free the zmalloc mem when init port resource failed
Regards wenbo
-----Original Message-----
From: Stephen Hemminger <stephen at networkplumber.org>
Sent: 2023年8月1日 23:21
To: Wenbo Cao <caowenbo at mucse.com>
Cc: Anatoly Burakov <anatoly.burakov at intel.com>; dev at dpdk.org
Subject: Re: [[PATCH v1] 3/8] net/rnp: add device init and uninit
On Tue, 1 Aug 2023 06:43:41 +0000
Wenbo Cao <caowenbo at mucse.com> wrote:
> + return 0;
> +eth_alloc_error:
> +init_failed:
Why have two labels for same place, to later patches insert code here?
More information about the dev
mailing list