Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6503909imm; Wed, 27 Jun 2018 08:39:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd/vCItTqy0OpIreCJGYi54vijNu3lRFwtwjP6v1B0AkDv+PD8ioTnMoGrevRdtYMTABbML X-Received: by 2002:a17:902:7888:: with SMTP id q8-v6mr1418018pll.79.1530113984936; Wed, 27 Jun 2018 08:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530113984; cv=none; d=google.com; s=arc-20160816; b=ChAplJFpTGpHOfRQDM+ZpD0i49YGQGcx+s2VH8CKC1xkAbIGZx7MhrAfFe9U/mj7UF 18n3PZuP+8yHAWhTTuzjhxjsog1YtKZBeq5M/qxgkVTBi4Ze5vY+Pgoew/MeI2nsJZSX 7Ud69fPLmdFk+D6N7eMJIiig//gauxQNA0RiW88ilclRu/ko50U0+0YD5MqR+dOgGMEL 8XWcyFwqfp1khMJotVru4hKZFazz1Hcgrn202Cgg4ioJVfahF0UPMt7QKeY6pqraLqKx ZhSGmehKUXcFDSj9rly85a4jflUVpqCuM1mGBcH+izVhb3DYzH/t0SZNdF61cUvmDiDr 766Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=MA0kE+IifAd/sCheKBSMOTc4zO3MCi45ENF9v5o/VLY=; b=RUdmXMM0/4wymabJRoM/arKSeH9yOSxiTcMHrQtv+eKIIJZvY3T3sKpSicoh8BgL1y cuTnlLcl5EVVVSFTlnrksPmq35IzbitxT3HIFu+S6S9Vj4iWV6oFXYd7GK76akIvbkzr sj0T6fJYpM129Xwz9iU4olXEUb/z6Z26+/5ufiCdGNZFui6F46xf4bbPUvrR4qCg1GuB qcTgNv62TcDCRYt5iIRWo0LMQPAT513CwUtzp1jc9qnOGt/ZptVD/KdTBkqq+YQYFvt+ aF+qs4qLxNVLwvlk1dK15daCgUhYh9ZTq3cZsbsFLNhXnBcR2yg6FUtLftmr/TuUgh9K j7bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gofb7Ulf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j195-v6si3684548pgc.543.2018.06.27.08.39.30; Wed, 27 Jun 2018 08:39:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gofb7Ulf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965339AbeF0Pio (ORCPT + 99 others); Wed, 27 Jun 2018 11:38:44 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:52534 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934483AbeF0Pin (ORCPT ); Wed, 27 Jun 2018 11:38:43 -0400 Received: by mail-it0-f65.google.com with SMTP id p4-v6so777124itf.2; Wed, 27 Jun 2018 08:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MA0kE+IifAd/sCheKBSMOTc4zO3MCi45ENF9v5o/VLY=; b=gofb7UlfZovkQyEWgvOP6Q0opA7sD0SkTlE7zs1EmhuorqyAJcpANfQYE5IwHBYZXm 9QaPc4GD4/JS7jOWBzqwh8H2ZGu4sYO8tqcocoWJR5OPgRDBN+4g96nPaqI4QsWj4gAM RC4GG/adxdrXU9Vltf50k2hbBQsSK8hdbp7OfBGEAfvgJYune9gPv1j9P4oVno8eUism ruFDHM26xWG9WZYb0mr/4eFWIKAVUtWEnZ9NQdgIibfPYpYr02u5NfyqayGei5xlcETD RlKYa3MZOQG0ZWyFF5S8Ir7x4PIjG/CQsMRu8j3DWfIi2goR8ToT/D1YJhmMLk9NHddS caMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MA0kE+IifAd/sCheKBSMOTc4zO3MCi45ENF9v5o/VLY=; b=BGglyIgcgaHMxZ5pWRVieq+5VkKSZQYrKgIlAKGlbqm6Iu1Q0wuNeESaIdO1H14FB2 tdOe9F83jY/ohCdvXqKsflzME0fzb6U1DDgDDY0kF4LkqluHEvfm13bGNGK0wuoFVBov 1k4xuh3vfgupzXPQjBUdgo+BhjvPKz99S8dY4HmwjxRjXMK+wAYp/fHDfA4H7kQmNMZo LQevwt02Apl29zkF76zDMDlOEnsZbe0aNL3S187aZ+B51m9IP3EMWGxKn2sBFiwvzBnA zB78r+gG5VooHA2L+2JdG/WaEEZY7BeLRJAH+8vzKc/ImKphO8xSuZXG7Knjk+Js2arG YbYQ== X-Gm-Message-State: APt69E24LSYnARxNImvYrtl2ZSA2pJYundtV40Wcy6weUWMECAV7MAWU SsDcAh7WdWYb85uYWywLjCdCSAEKoco3XsXap/Q= X-Received: by 2002:a24:4457:: with SMTP id o84-v6mr5356096ita.142.1530113922758; Wed, 27 Jun 2018 08:38:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:ef03:0:0:0:0:0 with HTTP; Wed, 27 Jun 2018 08:38:02 -0700 (PDT) In-Reply-To: <72f02552-9375-bf81-6a03-42656168b583@gmail.com> References: <1530100216-13070-1-git-send-email-laoar.shao@gmail.com> <72f02552-9375-bf81-6a03-42656168b583@gmail.com> From: Yafang Shao Date: Wed, 27 Jun 2018 23:38:02 +0800 Message-ID: Subject: Re: [PATCH net-next] tcp: replace LINUX_MIB_TCPOFODROP with LINUX_MIB_TCPRMEMFULLDROP for drops due to receive buffer full To: Eric Dumazet Cc: Eric Dumazet , David Miller , netdev , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 27, 2018 at 11:27 PM, Eric Dumazet wrote: > > > On 06/27/2018 08:14 AM, Yafang Shao wrote: > >> Got it! >> >> What about introduce a new counter, i.e. TCPRcvQFullDrop ? > > tcp_try_rmem_schedule() can fail for many different reasons, > not related to how occupied the socket receive queue is. Yes. So TCPRcvQDrop would be more specific ? Thanks Yafang