From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id C0C255F0F for ; Tue, 30 Apr 2019 17:06:10 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id g3so7200989pfi.4 for ; Tue, 30 Apr 2019 08:06:10 -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=kP9X9ErvAigPTPmgMh+gphEQjtxhBS6kSo6aGTW9tME=; b=0wwEytIpZbNQXwBADhEXioLZZT0+yH6N9XuZKVYo0rFXfF3/llVQ/FmaVDfG4ZOSim WPBnIA5qvHZJrKb9h6Y91w4VRSrDGGT4MW040UpJJDjnGxdtU6gfG9eQMUnZlnz2HTqz 27y+jFFPxsPGeHNaGDcfrOKLYhNoFeZSoFq6UYR7JbGeZHToMXMwV961AdueyXBmra3V 6FAN63IZjHeQgnJugy+0Hw2RkVJ8K0t0MWlWrGC/2xGhrRbZQZrdw2u6ctG/NmYOeeF3 y4MHCUVa6hmY9ijvPM4rvJr5symCzlCwLv07cuMdIlSPrz1wmL6xZSzWISYGCXk6AWPZ UIUg== 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=kP9X9ErvAigPTPmgMh+gphEQjtxhBS6kSo6aGTW9tME=; b=oMjuRGCupQwp/KMkYmk7mHzlg30DUrWeEz8PqsVvVIjkBNcLAQQZ97uSqkqK5ol4iD PguANjInxW0325m4GF9fv1yGUdTvW10VksppthhfxCSWkCScB8SDwAFddiwuDAg84ExJ Yf8PKL0IvBXv4Bew0S0bkG1hUnxcucrm/R+Te/OHqLY+tnZbqXTTqRM3Jk/Ow9YbR1SO epU5D1bYt1yNVqNaZJTKgfwluBec5CFnouJbCxDsZCPBnpk5rSvvFXQ/7P6gkfnQj4Pz 3Fzi8xuOmPspom5E3COFlYsZfG9opMQiRGFi+xhRFsZEeW9ImeSQHP/2tM9vStv9wLbB BN8A== X-Gm-Message-State: APjAAAUoY5sLY6dIvW5ox/vrelkBZVAGGbe6yXqMwHZXcscIf+HthVbD e06LC/AY1qOKexEn5pJpp/a6colT+jw= X-Google-Smtp-Source: APXvYqxmz85AuzRzSf/I8klw+vVJNDx8O2Zn8A43cmoSZoJlTmcLASaiMGeLuep3r4HBOLzSUfJuJw== X-Received: by 2002:a63:b53:: with SMTP id a19mr23299415pgl.216.1556636769606; Tue, 30 Apr 2019 08:06:09 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g2sm61952182pfd.134.2019.04.30.08.06.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Apr 2019 08:06:09 -0700 (PDT) Date: Tue, 30 Apr 2019 08:05:59 -0700 From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Message-ID: <20190430080559.4501b119@hermes.lan> In-Reply-To: <20190429203325.10696-2-stephen@networkplumber.org> References: <20190429203325.10696-1-stephen@networkplumber.org> <20190429203325.10696-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/2] net/netvsc: reset mbuf port on VF receive 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: Tue, 30 Apr 2019 15:06:11 -0000 On Mon, 29 Apr 2019 13:33:24 -0700 Stephen Hemminger wrote: > Redo the receive logic to set m->port on packets received on VF. > > When using VF, still need to check for packets and completions > arriving on the VMBus path even if application is not doing bursting > (ie n_rx == 0). > > Also, fix comment. > > Signed-off-by: Stephen Hemminger Fixes: dc7680e8597c ("net/netvsc: support integrated VF") From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 8A83CA0679 for ; Tue, 30 Apr 2019 17:06:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F4845F14; Tue, 30 Apr 2019 17:06:12 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id C0C255F0F for ; Tue, 30 Apr 2019 17:06:10 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id g3so7200989pfi.4 for ; Tue, 30 Apr 2019 08:06:10 -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=kP9X9ErvAigPTPmgMh+gphEQjtxhBS6kSo6aGTW9tME=; b=0wwEytIpZbNQXwBADhEXioLZZT0+yH6N9XuZKVYo0rFXfF3/llVQ/FmaVDfG4ZOSim WPBnIA5qvHZJrKb9h6Y91w4VRSrDGGT4MW040UpJJDjnGxdtU6gfG9eQMUnZlnz2HTqz 27y+jFFPxsPGeHNaGDcfrOKLYhNoFeZSoFq6UYR7JbGeZHToMXMwV961AdueyXBmra3V 6FAN63IZjHeQgnJugy+0Hw2RkVJ8K0t0MWlWrGC/2xGhrRbZQZrdw2u6ctG/NmYOeeF3 y4MHCUVa6hmY9ijvPM4rvJr5symCzlCwLv07cuMdIlSPrz1wmL6xZSzWISYGCXk6AWPZ UIUg== 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=kP9X9ErvAigPTPmgMh+gphEQjtxhBS6kSo6aGTW9tME=; b=oMjuRGCupQwp/KMkYmk7mHzlg30DUrWeEz8PqsVvVIjkBNcLAQQZ97uSqkqK5ol4iD PguANjInxW0325m4GF9fv1yGUdTvW10VksppthhfxCSWkCScB8SDwAFddiwuDAg84ExJ Yf8PKL0IvBXv4Bew0S0bkG1hUnxcucrm/R+Te/OHqLY+tnZbqXTTqRM3Jk/Ow9YbR1SO epU5D1bYt1yNVqNaZJTKgfwluBec5CFnouJbCxDsZCPBnpk5rSvvFXQ/7P6gkfnQj4Pz 3Fzi8xuOmPspom5E3COFlYsZfG9opMQiRGFi+xhRFsZEeW9ImeSQHP/2tM9vStv9wLbB BN8A== X-Gm-Message-State: APjAAAUoY5sLY6dIvW5ox/vrelkBZVAGGbe6yXqMwHZXcscIf+HthVbD e06LC/AY1qOKexEn5pJpp/a6colT+jw= X-Google-Smtp-Source: APXvYqxmz85AuzRzSf/I8klw+vVJNDx8O2Zn8A43cmoSZoJlTmcLASaiMGeLuep3r4HBOLzSUfJuJw== X-Received: by 2002:a63:b53:: with SMTP id a19mr23299415pgl.216.1556636769606; Tue, 30 Apr 2019 08:06:09 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g2sm61952182pfd.134.2019.04.30.08.06.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Apr 2019 08:06:09 -0700 (PDT) Date: Tue, 30 Apr 2019 08:05:59 -0700 From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Message-ID: <20190430080559.4501b119@hermes.lan> In-Reply-To: <20190429203325.10696-2-stephen@networkplumber.org> References: <20190429203325.10696-1-stephen@networkplumber.org> <20190429203325.10696-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/2] net/netvsc: reset mbuf port on VF receive 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190430150559.WJUypetDt0daMx5Qv-lWtlKTuCCybX9mIrmP1IR5pZE@z> On Mon, 29 Apr 2019 13:33:24 -0700 Stephen Hemminger wrote: > Redo the receive logic to set m->port on packets received on VF. > > When using VF, still need to check for packets and completions > arriving on the VMBus path even if application is not doing bursting > (ie n_rx == 0). > > Also, fix comment. > > Signed-off-by: Stephen Hemminger Fixes: dc7680e8597c ("net/netvsc: support integrated VF")