From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 83B28A0C47 for ; Mon, 12 Apr 2021 11:33:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6EA4114107F; Mon, 12 Apr 2021 11:33:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 0E78614106F for ; Mon, 12 Apr 2021 11:33:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618220004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VbrpNdS+YzIB802D17HMN+MfP3o4aphk0Vg2OXV9rTI=; b=RDGNXVg/4p9AijrknUO2uROMozM/yF93e2b6U5i+hGpBepEY7ZaqCoq1BFCQPIsD6JQYx0 eISlAvKI/eooE9xt8gRPSljBZ3uzN/y6QnYGg5z5IByFa1pNbgLmJXB8UUs0dM1vVMlJSu Og/UqMWCod3u9ivqxAamGGSWPLKnq44= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-429-okbosBbcNsy5uYc7T3s1Ag-1; Mon, 12 Apr 2021 05:33:22 -0400 X-MC-Unique: okbosBbcNsy5uYc7T3s1Ag-1 Received: by mail-vs1-f69.google.com with SMTP id l2so663036vst.8 for ; Mon, 12 Apr 2021 02:33:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VbrpNdS+YzIB802D17HMN+MfP3o4aphk0Vg2OXV9rTI=; b=I/3hP20798ArryxpuzaLd7oY2BUedS1XX/ArRYVd0H4mTEpxvIy9KMMtEDYjCnrbV+ 8mo0A6Mxnfe320dVOHsuzdcvC31KwGrmE65MPxUeKby9FplZRTq6cq5HQPX1JGKbv7TZ L5DQR24w0n3DjCHOzREAIkiiojbUdkoZSA7TjIPwjmlHOixpE0Xqr0CAE/quqKqUHzB6 byEVmVId4bIW0apV3LDEhfT4wVicflGIp9/4WG56Re/w1fb2KZdizoC96QKNnBLr8+Km 9ZE0sO3rhTGAz4yvMfW6+VuUP966/c26A0Mc8yMO6RWYlspwF+wK+cvT+FCk6nygZ3KQ RsHA== X-Gm-Message-State: AOAM530G1j4GDO77ZxqoAI+ZzqmJ996nfMovntLPCpPOIVj3RswyNu6N mLCLsJmQLoweQGu67yJKxa8aP5suGeh2dmaSNcmIR5wOZlmbX8fNJk1vg+3Ex0n5/VkkZEotCr1 A+ZHMl8m8K+GAF9Y3475qJJU= X-Received: by 2002:a1f:2a09:: with SMTP id q9mr2775566vkq.17.1618220002090; Mon, 12 Apr 2021 02:33:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg2J+CjUERW63d4HEvsjVI4ggcHV69IUFdjSOUkUZ85O9LxjIDzeO4KWKgfnpemWqspvAkR6WiVsgUw7umH0A= X-Received: by 2002:a1f:2a09:: with SMTP id q9mr2775560vkq.17.1618220001916; Mon, 12 Apr 2021 02:33:21 -0700 (PDT) MIME-Version: 1.0 References: <20210311063827.55394-1-xiao.w.wang@intel.com> <20210317063109.135662-1-xiao.w.wang@intel.com> In-Reply-To: From: David Marchand Date: Mon, 12 Apr 2021 11:33:10 +0200 Message-ID: To: "Wang, Xiao W" Cc: Maxime Coquelin , "Xia, Chenbo" , "Liu, Yong" , dev , "Ananyev, Konstantin" , dpdk stable , "yangyi01@inspur.com" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH v3] vhost: add header check in dequeue offload X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Mon, Apr 12, 2021 at 11:09 AM Wang, Xiao W wrote: > Considering the major consumer of vhost API is virtual switch/router, I tend to keep the current implementation and apply this fix patch. > Any comments? This is just a hack that bypasses the vswitch control. It happens to work when the vswitch does nothing. If anything is done, like popping a vlan header, the vswitch needs to update l3 offset. -- David Marchand