Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1732648 > unrolled thread

RE: [Intel-wired-lan] [PATCH net-next v3] e1000e: Be drop monitor friendly

Started by"Brown, Aaron F" <aaron.f.brown@intel.com>
First post2017-09-15 02:00 +0200
Last post2017-09-15 02:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: [Intel-wired-lan] [PATCH net-next v3] e1000e: Be drop monitor         friendly "Brown, Aaron F" <aaron.f.brown@intel.com> - 2017-09-15 02:00 +0200

#1732648 — RE: [Intel-wired-lan] [PATCH net-next v3] e1000e: Be drop monitor friendly

From"Brown, Aaron F" <aaron.f.brown@intel.com>
Date2017-09-15 02:00 +0200
SubjectRE: [Intel-wired-lan] [PATCH net-next v3] e1000e: Be drop monitor friendly
Message-ID<upMd3-3ak-3@gated-at.bofh.it>
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On Behalf
> Of Florian Fainelli
> Sent: Friday, August 25, 2017 6:14 PM
> To: netdev@vger.kernel.org
> Cc: edumazet@gmail.com; Florian Fainelli <f.fainelli@gmail.com>; open list
> <linux-kernel@vger.kernel.org>; moderated list:INTEL ETHERNET DRIVERS
> <intel-wired-lan@lists.osuosl.org>; davem@davemloft.net
> Subject: [Intel-wired-lan] [PATCH net-next v3] e1000e: Be drop monitor
> friendly
> 
> e1000e_put_txbuf() can be called from normal reclamation path as well as
> when a DMA mapping failure, so we need to differentiate these two cases
> when freeing SKBs to be drop monitor friendly. e1000e_tx_hwtstamp_work()
> and e1000_remove() are processing TX timestamped SKBs and those should
> not be accounted as drops either.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> Changes in v3:
> 
> - differentiate normal reclamation from TX DMA fragment mapping errors
> - removed a few invalid dev_kfree_skb() replacements (those are already
>   drop monitor friendly)
> 
> Changes in v2:
> 
> - make it compile
> 
>  drivers/net/ethernet/intel/e1000e/netdev.c | 18 +++++++++++-------
>  1 file changed, 11 insertions(+), 7 deletions(-)

Tested-by: Aaron Brown <aaron.f.brown@intel.com>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web