From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by dpdk.org (Postfix) with ESMTP id 70ADA37A2 for ; Mon, 13 Aug 2018 19:22:35 +0200 (CEST) Received: by mail-pl0-f67.google.com with SMTP id s17-v6so7159336plp.7 for ; Mon, 13 Aug 2018 10:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mVxMY4i8oCQesEDUNG5nYVJutm04NKalugvCyO98esg=; b=Ci3rAHTOhgVSV57NfSzqYnSb3O9qww+mYHJo4czqmC+5XbetJNnJKw4OOWZutvvhNo zIDNXc0TrA0N+/hWYWbLQrwJi2/fFMR5f3xiM4rxBI8PRNJ9OKcpfO25W9LAJA+SMZJ3 Ur7hSsVKc8G5ehSg2vX365hXqkk5SJBBB/rQ7sUwtLnh2+H+sTfZRa8FtvZ8KHr3OMWj y2zmcPaKHT1KuraQbCZ3m9CHppHqP4DyBntjD2AcGj9LgxacFij9MymL7HPIhqm3FxKd qjJ5fOxPkYU/bgrWw3DtpGhtq3DHHRB8G9f1JxaSaNEuht2z23tR3ktRsf/t65rPpwin UbKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mVxMY4i8oCQesEDUNG5nYVJutm04NKalugvCyO98esg=; b=pI+EB+e0/GH83EoA5gg+yf18HHLsu13IJyoXkPxvbFm+TMRRvQxj+UTplrk33Ukg9+ 0qlUmSSxp9Iny7bMXXVdqi6TbbxwDxzIXrCOp8WE4agSeFGG4pVOEIUHNygroxYwjyhf KK8UDhlc347mGaWYqYfPm401gy3h3jrQo/UiJ/f8rOS+uNW1yWKW53S2U2gq9zrrRvhE G00E5qiWWUfZaEViFx3hvSlimDQ585V61c4ge0UJrHjmmeYPkebbqB2q2StGe+msZw5Y tJUCUIgSzZ521yDKhSpOmNKQo2nQ6Sw87hTqzRkGchqZAAWe6cv0MrLhPCPc9bkUgkPg 0bXQ== X-Gm-Message-State: AOUpUlHxzwQDkrwLs8P3nqEDdR0A/E3rSlB5MIfWWIBH1err1+i48dhO Lk1bQnKwNc0xOA0POxVgiG+T+D7V3bY= X-Google-Smtp-Source: AA+uWPw6HrjTNr65XM1mwdSmMK6d2dU7vNm34ObJXeEmdCwSFxoJ4UMmlyl7tgK317TyOb/aFBtrVQ== X-Received: by 2002:a17:902:6504:: with SMTP id b4-v6mr8740721plk.10.1534180954469; Mon, 13 Aug 2018 10:22:34 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id x66-v6sm31762547pff.123.2018.08.13.10.22.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Aug 2018 10:22:34 -0700 (PDT) Date: Mon, 13 Aug 2018 10:22:27 -0700 From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Message-ID: <20180813102227.09a26d5e@xeon-e3> In-Reply-To: <20180813155108.6460-3-stephen@networkplumber.org> References: <20180813155108.6460-1-stephen@networkplumber.org> <20180813155108.6460-3-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 2/2] netvsc: resize event buffer as needed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 17:22:35 -0000 On Mon, 13 Aug 2018 08:51:08 -0700 Stephen Hemminger wrote: > The event buffer was changed to be a fixed size value, but it > is not large enough for a forwarding stress test. > > This version of event buffer code uses malloc/realloc to size > the event buffer as needed. Malloc is preferred over rte_malloc > because the event buffer does not need to be used for DMA > and huge page is a limited resource. > > Fixes: 530af95a7849 ("bus/vmbus: avoid signalling host on read") > Signed-off-by: Stephen Hemminger Self NAK. This won't work when secondary process needs the buffer.