[dpdk-dev] [PATCH v4 06/17] net/ionic: add basic lif support
Stephen Hemminger
stephen at networkplumber.org
Fri Dec 20 02:12:43 CET 2019
On Thu, 19 Dec 2019 23:18:36 +0100
Alfredo Cardigliano <cardigliano at ntop.org> wrote:
> diff --git a/drivers/net/ionic/ionic.h b/drivers/net/ionic/ionic.h
> index a29f0bb89..b6ef63161 100644
> --- a/drivers/net/ionic/ionic.h
> +++ b/drivers/net/ionic/ionic.h
> @@ -49,7 +49,12 @@ struct ionic_adapter {
> struct ionic_dev idev;
> struct ionic_dev_bar bars[IONIC_BARS_MAX];
> struct ionic_identity ident;
> + struct ionic_lif *lifs[IONIC_LIFS_MAX]
You are making 8K array on the stack, do you really need all that?
More information about the dev
mailing list