From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net] ixgbe: check return value of napi_complete_done() Date: Thu, 20 Sep 2018 16:49:06 -0700 Message-ID: <028b4cea-0e3f-fab5-7a74-cf003bbd1134@gmail.com> References: <20180920190113.490005-1-songliubraving@fb.com> <2ca0e823642d232092017f66e8151652e22e74a1.camel@intel.com> <0DAF1AF9-E98D-4D0F-BD68-F5936A0312C6@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Jeff Kirsher , netdev , "intel-wired-lan@lists.osuosl.org" , Kernel Team , "stable@vger.kernel.org" , Alexei Starovoitov To: Song Liu , Eric Dumazet Return-path: Received: from mail-pl1-f193.google.com ([209.85.214.193]:33085 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725887AbeIUFfK (ORCPT ); Fri, 21 Sep 2018 01:35:10 -0400 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 09/20/2018 04:43 PM, Song Liu wrote: > > I tried to totally skip ndo_poll_controller() here. It did avoid hitting > the issue. However, netpoll will drop (fail to send) more packets. > Why is it failing ? If you are under high memory pressure, then maybe if you absolutely want memory to send netpoll packets, you want to grab all NAPI contexts as a way to prevent other cpus from feeding incoming packets to the host and add more memory pressure ;)