From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0D11C433DF for ; Thu, 25 Jun 2020 21:12:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9E8520768 for ; Thu, 25 Jun 2020 21:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405737AbgFYVMv (ORCPT ); Thu, 25 Jun 2020 17:12:51 -0400 Received: from www62.your-server.de ([213.133.104.62]:59798 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405718AbgFYVMv (ORCPT ); Thu, 25 Jun 2020 17:12:51 -0400 Received: from sslproxy06.your-server.de ([78.46.172.3]) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1joZAu-0000IB-JK; Thu, 25 Jun 2020 23:12:48 +0200 Received: from [178.196.57.75] (helo=pc-9.home) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joZAu-000737-AM; Thu, 25 Jun 2020 23:12:48 +0200 Subject: Re: [PATCH bpf] libbpf: adjust SEC short cut for expected attach type BPF_XDP_DEVMAP To: Jesper Dangaard Brouer , bpf@vger.kernel.org, andriin@fb.com Cc: netdev@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , David Ahern References: <159309521882.821855.6873145686353617509.stgit@firesoul> From: Daniel Borkmann Message-ID: <5580b36e-340c-7032-588d-9cc66888e9f0@iogearbox.net> Date: Thu, 25 Jun 2020 23:12:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <159309521882.821855.6873145686353617509.stgit@firesoul> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.102.3/25854/Thu Jun 25 15:16:08 2020) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 6/25/20 4:26 PM, Jesper Dangaard Brouer wrote: > Adjust the SEC("xdp_devmap/") prog type prefix to contain a > slash "/" for expected attach type BPF_XDP_DEVMAP. This is consistent > with other prog types like tracing. > > Fixes: 2778797037a6 ("libbpf: Add SEC name for xdp programs attached to device map") > Suggested-by: Andrii Nakryiko > Signed-off-by: Jesper Dangaard Brouer Given it's not released yet, lgtm, applied, thanks!