[<prev] [next>] [day] [month] [year] [list]
Message-ID: <26D9FDECA4FBDD4AADA65D8E2FC68A4A1D32C629@ORSMSX104.amr.corp.intel.com>
Date: Tue, 4 Dec 2018 17:01:24 +0000
From: "Bowers, AndrewX" <andrewx.bowers@...el.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
Subject: RE: [PATCH] intel: ice: Do not enable NAPI on q_vectors that have
no rings
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@...osl.org] On
> Behalf Of Yang Xiao
> Sent: Wednesday, November 28, 2018 5:54 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher@...el.com>; davem@...emloft.net
> Cc: netdev@...r.kernel.org; intel-wired-lan@...ts.osuosl.org; Yang Xiao
> <YangX92@...mail.com>
> Subject: [Intel-wired-lan] [PATCH] intel: ice: Do not enable NAPI on
> q_vectors that have no rings
>
> From: Young Xiao <YangX92@...mail.com>
>
> If ice driver has q_vectors w/ active NAPI that has no rings, then this will
> result in a divide by zero error. To correct it I am updating the driver code so
> that we only support NAPI on q_vectors that have 1 or more rings allocated
> to them.
>
> See commit 13a8cd191a2b ("i40e: Do not enable NAPI on q_vectors that have
> no rings") for detail.
>
> Signed-off-by: Young Xiao <YangX92@...mail.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 16 ++++++++++++----
> 1 file changed, 12 insertions(+), 4 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers@...el.com>
Powered by blists - more mailing lists