Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3262648ybv; Mon, 24 Feb 2020 21:46:30 -0800 (PST) X-Google-Smtp-Source: APXvYqzcqNCRTQEz56/LX0QQ6nt8O7McGUV24l6VPvhpPWWwz2l0oEyXeeBbDz/ziUcuP4S2hrBv X-Received: by 2002:a05:6830:1b6b:: with SMTP id d11mr13499913ote.46.1582609590461; Mon, 24 Feb 2020 21:46:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582609590; cv=none; d=google.com; s=arc-20160816; b=q+4un6Z+dF+lH6MlJO9WNGD/MtQqr43YF1ZG9DnSsLnudBtoenY0RqDRsE8612sXml Hs5mllb7Oh0fmocQSKLzQbqPtZbBg4fLrLA8kKjtnBHMRi07djOEV4cLFaPEpsv05OOA YxS4WzuDDO/uoX2orYGmF1yi+idsMz2XCK+JtIdMsrwUlJP4r7waC1+MH6q8Nq0qrrFL aAzINdb5VbbS12z63Ve2xf0CgBwfTA1FKPqdLUNvK0MhX9JYh1Pl4PZquCwtXawBfmu9 qotCV73efzuNSfwfmJBJhwPN8VOGXNapEHVcbPMe3pGR8PPjaDHwWtiPe60VYeC7F5TB NEjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=wlfZHi7K31IEzsSyN0TR6qKfuLEZhiUXhJhGkDqDhGM=; b=M+4gWDX2Y9wkA0JE5tzRB8BdBfITjw0nO5Q79U0O9gMTw4fe16GiMpOFXiYzGl7O7D eviLI/pe3vo3dq9YJIMVX4julAe+hA3iv23lm1jynLTlH+YkvHKwH20VegH+cnWTJeuo ERa/uTXSEF2eMvKk0GE9p5bGv22/z/2gShOFr5nFj3cgkfnXFBtDpqgkELwhvSQnhAoc jhUPZAX7/XVXkHew7dDm6j+iFMydg9dKdKxW5l2QgDv5XqwCj77hi+80Jk2AOJutfz/h mmJPbzgbEFIxPFXrFZgdaEpLLO5UtLkKNht6NuMg4iHTaRx8DCCgRaYpZGcDv7ki3sdK 0n5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IRTRVwf8; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si7310284otr.183.2020.02.24.21.46.17; Mon, 24 Feb 2020 21:46:30 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=IRTRVwf8; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728977AbgBYFqO (ORCPT + 99 others); Tue, 25 Feb 2020 00:46:14 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:37234 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726039AbgBYFqN (ORCPT ); Tue, 25 Feb 2020 00:46:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582609572; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wlfZHi7K31IEzsSyN0TR6qKfuLEZhiUXhJhGkDqDhGM=; b=IRTRVwf87h5Rpw/8aSfMX5W/Iip1sEJmRT5Tj/RxdB7GsuAnF+lP4g20z4kbfVZ4UkwrrR GodffJM9RkTPS8yeIT5xh9VlBOhWmQWy/tiVPsrx7U8NC18T0LPLJgpzJlsKwxwFSOjbf5 672nrOmTVt7AgWDM3gZqmicUUMDKUXA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-130-PDwaCRNBMDKJk1t0HT-9Hg-1; Tue, 25 Feb 2020 00:46:05 -0500 X-MC-Unique: PDwaCRNBMDKJk1t0HT-9Hg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4ED101005512; Tue, 25 Feb 2020 05:46:03 +0000 (UTC) Received: from [10.72.13.170] (ovpn-13-170.pek2.redhat.com [10.72.13.170]) by smtp.corp.redhat.com (Postfix) with ESMTP id E06FA60BF7; Tue, 25 Feb 2020 05:45:55 +0000 (UTC) Subject: Re: [PATCH bpf-next v6 2/2] virtio_net: add XDP meta data support To: Yuya Kusakabe Cc: andriin@fb.com, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net, hawk@kernel.org, john.fastabend@gmail.com, kafai@fb.com, kuba@kernel.org, linux-kernel@vger.kernel.org, mst@redhat.com, netdev@vger.kernel.org, songliubraving@fb.com, yhs@fb.com References: <20200225033103.437305-1-yuya.kusakabe@gmail.com> <20200225033212.437563-1-yuya.kusakabe@gmail.com> <20200225033212.437563-2-yuya.kusakabe@gmail.com> From: Jason Wang Message-ID: <4c3ca8e7-2ab0-8d57-7361-7909fba3905d@redhat.com> Date: Tue, 25 Feb 2020 13:45:54 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20200225033212.437563-2-yuya.kusakabe@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/2/25 =E4=B8=8A=E5=8D=8811:32, Yuya Kusakabe wrote: > Implement support for transferring XDP meta data into skb for > virtio_net driver; before calling into the program, xdp.data_meta point= s > to xdp.data, where on program return with pass verdict, we call > into skb_metadata_set(). > > Tested with the script at > https://github.com/higebu/virtio_net-xdp-metadata-test. > > Signed-off-by: Yuya Kusakabe Acked-by: Jason Wang