From patchwork Sat Dec 1 00:23:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matteo Croce X-Patchwork-Id: 1006268 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 436Bmx3XZ2z9s8r for ; Sat, 1 Dec 2018 11:23:13 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726340AbeLALeR (ORCPT ); Sat, 1 Dec 2018 06:34:17 -0500 Received: from mail-wm1-f51.google.com ([209.85.128.51]:36333 "EHLO mail-wm1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbeLALeR (ORCPT ); Sat, 1 Dec 2018 06:34:17 -0500 Received: by mail-wm1-f51.google.com with SMTP id a18so585377wmj.1 for ; Fri, 30 Nov 2018 16:23:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+xz9EigQT465gcQ/zCtn5UgJyjLOJ7GB8H/6YbIKsmg=; b=Z0h8xG2gbrWo0ZzbQsZIAWkoD0GcMt/RTDRtuUQB4Zg4LjyPJSc4ZEtLOFXOh0nGq1 axYJO8BpGVe2uNs6+VsGnYOIWqIT5ADf5UKuPhxjCGLy7rUWnz1H1ffQboAlyAugQst4 7vlxA5zbnlWoMc32WlqMLt5EgxYYP/RhuTUl1UfLyZkw12aMB23TCtVnAfoeBv8EQjrU sUFENeDa4ajn7v83WuFSUQcZqx6tj4erpFhfwQ6vIGE4CI7PEY4kK08HatsmPn6+5IZf aYXG7bIeJXX13Xidvlo8cN4L58nqSiPSn+0azsPKWixi1BJRzUnye4fDVYpFObNItJKz rqNA== X-Gm-Message-State: AA+aEWaPsrsviiAfp603WaBVhOr+SI4U7Bxg547tSWVO7i4XiCJcaDcL SUs/r+EzyLciQ45LMIgWt/887NGjXkA= X-Google-Smtp-Source: AFSGD/V03zXTTykCjMECGxauVsnOmgpgNfg8zW9pImaz+lfVVWB0CWFj0gxaYNshdRZpqW2rvlsItg== X-Received: by 2002:a1c:aa92:: with SMTP id t140mr733078wme.36.1543623788289; Fri, 30 Nov 2018 16:23:08 -0800 (PST) Received: from raver.teknoraver.net (net-93-66-170-114.cust.vodafonedsl.it. [93.66.170.114]) by smtp.gmail.com with ESMTPSA id t187-v6sm429542wmt.45.2018.11.30.16.23.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Nov 2018 16:23:07 -0800 (PST) From: Matteo Croce To: netdev@vger.kernel.org Cc: Alexei Starovoitov , Daniel Borkmann , John Fastabend , Y Song Subject: [PATCH bpf-next v2 0/2] sample: xdp1 improvements Date: Sat, 1 Dec 2018 01:23:04 +0100 Message-Id: <20181201002306.25834-1-mcroce@redhat.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Small improvements to improve the readability and easiness to use of the xdp1 sample. Matteo Croce (2): samples: bpf: improve xdp1 example samples: bpf: get ifindex from ifname samples/bpf/xdp1_user.c | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-)