From patchwork Sat May 6 20:30:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Alemayhu X-Patchwork-Id: 759357 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wL0kp2blmz9s5L for ; Sun, 7 May 2017 06:30:26 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=alemayhu-com.20150623.gappssmtp.com header.i=@alemayhu-com.20150623.gappssmtp.com header.b="tArzd7i4"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754083AbdEFUaS (ORCPT ); Sat, 6 May 2017 16:30:18 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:37310 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751373AbdEFUaP (ORCPT ); Sat, 6 May 2017 16:30:15 -0400 Received: by mail-wm0-f43.google.com with SMTP id m123so30685865wma.0 for ; Sat, 06 May 2017 13:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alemayhu-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=aT/lq7O0SUUxenqz8DElucXshendxhqce7K+Ef75Noc=; b=tArzd7i4l8SSCqsL7xxAyD5pVwGEgFVpBjlLCf/y2Q2P6bqMuHGIA7EFZUONLKxEzs RLPl7YZqUEmmaWbUL04S829G4azQC/Z4pRwfWdbeo7jX1I7zIcI7T2lwgqtabYpbcE4o Rsblde2qmvVAq4skw2dfhptw0El4WtIOQRspGjt+SwzjhoA83lTZm/W8yxe/F5LL9EI7 zNobASw1EB8wnGy+41vjLwMnptAmEoeXUXXpKKqZOIqHqpBNRE6i3scylpjqhJM+tlsK Ci6W5NHAk5lj27LBR/9N6I5KnlSpCqOAWVFPfd78vAITyn5Qy/6kmCB57gam15aA46bI RybA== 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; bh=aT/lq7O0SUUxenqz8DElucXshendxhqce7K+Ef75Noc=; b=rz+q3vZ2hWLjgnVtM1YC3z4v3LU6bPOGQut42i7YG6hp+f3/A/i54N6c0IkEgFOM+b k4EfBmG8Ab9np5tIpSh5OzpCVZACrVRxYwmpVXjuuifd5QmwWXx2mg+NTthRUKzGeX8r NBS0GUcolqpk5qftF9EV0fp8aZq5q+WuQR9MTSzUg6jloeV0Hbkl2VfqsQtKo3ARgLSG Zv2xbaB+/p76LB/lo1OV7g3ntMO6H10k40zA5VA3m/I0vXLKw4WNdekW6FiosWVScF9e bPnSl8zSCW6k/FJjjvq+fFfmHuYQrFnSBoN5s2wT59BcCPSGveTCcJ3TygUtQsE4FCCz Cz4w== X-Gm-Message-State: AODbwcDc9MEG4jKi7+UaFov9p/6vKpVl6qElTizOjtiQT9X/3HGOtoIq 8oidXNQ9AX+5wX8tRlY= X-Received: by 10.28.207.201 with SMTP id f192mr2247791wmg.79.1494102613662; Sat, 06 May 2017 13:30:13 -0700 (PDT) Received: from localhost ([2a01:4f8:121:2342::2]) by smtp.gmail.com with ESMTPSA id x17sm7125977wrd.63.2017.05.06.13.30.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 May 2017 13:30:12 -0700 (PDT) From: Alexander Alemayhu To: netdev@vger.kernel.org Cc: daniel@iogearbox.net, stephen@networkplumber.org, Alexander Alemayhu Subject: [PATCH iproute2] tc: bpf: add ppc64 and sparc64 to list of archs with eBPF support Date: Sat, 6 May 2017 22:30:10 +0200 Message-Id: <1494102610-19853-1-git-send-email-alexander@alemayhu.com> X-Mailer: git-send-email 2.7.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org sparc64 support was added in 7a12b5031c6b (sparc64: Add eBPF JIT., 2017-04-17)[0] and ppc64 in 156d0e290e96 (powerpc/ebpf/jit: Implement JIT compiler for extended BPF, 2016-06-22)[1]. [0]: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=7a12b5031c6b [1]: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=156d0e290e96 Signed-off-by: Alexander Alemayhu Acked-by: David S. Miller Acked-by: Daniel Borkmann --- man/man8/tc-bpf.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/man8/tc-bpf.8 b/man/man8/tc-bpf.8 index e371964d06ab..2e9812ede028 100644 --- a/man/man8/tc-bpf.8 +++ b/man/man8/tc-bpf.8 @@ -75,9 +75,9 @@ In Linux, it's generally considered that eBPF is the successor of cBPF. The kernel internally transforms cBPF expressions into eBPF expressions and executes the latter. Execution of them can be performed in an interpreter or at setup time, they can be just-in-time compiled (JIT'ed) to run as -native machine code. Currently, x86_64, ARM64 and s390 architectures have -eBPF JIT support, whereas PPC, SPARC, ARM and MIPS have cBPF, but did not -(yet) switch to eBPF JIT support. +native machine code. Currently, x86_64, ARM64, s390, ppc64 and sparc64 +architectures have eBPF JIT support, whereas PPC, SPARC, ARM and MIPS have +cBPF, but did not (yet) switch to eBPF JIT support. eBPF's instruction set has similar underlying principles as the cBPF instruction set, it however is modelled closer to the underlying