Message ID | 1edf1b08f92895f191c9daa77df598de8cc7e323.1527143877.git.sandipan@linux.vnet.ibm.com |
---|---|
State | Accepted, archived |
Delegated to: | BPF Maintainers |
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> 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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.vnet.ibm.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40s0Zw3z2Kz9s08 for <patchwork-incoming-netdev@ozlabs.org>; Thu, 24 May 2018 16:58:16 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935347AbeEXG6O (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Thu, 24 May 2018 02:58:14 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36756 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964901AbeEXG5O (ORCPT <rfc822;netdev@vger.kernel.org>); Thu, 24 May 2018 02:57:14 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4O6sEHM133768 for <netdev@vger.kernel.org>; Thu, 24 May 2018 02:57:13 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2j5pav4xj5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <netdev@vger.kernel.org>; Thu, 24 May 2018 02:57:13 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <netdev@vger.kernel.org> from <sandipan@linux.vnet.ibm.com>; Thu, 24 May 2018 07:57:11 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 24 May 2018 07:57:08 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4O6v8de7274992; Thu, 24 May 2018 06:57:08 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CB5D0AE045; Thu, 24 May 2018 07:46:20 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A85CBAE051; Thu, 24 May 2018 07:46:19 +0100 (BST) Received: from localhost.localdomain (unknown [9.40.193.84]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 24 May 2018 07:46:19 +0100 (BST) From: Sandipan Das <sandipan@linux.vnet.ibm.com> To: ast@kernel.org, daniel@iogearbox.net Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, naveen.n.rao@linux.vnet.ibm.com, jakub.kicinski@netronome.com Subject: [PATCH bpf-next v4 05/10] tools: bpf: sync bpf uapi header Date: Thu, 24 May 2018 12:26:49 +0530 X-Mailer: git-send-email 2.14.3 In-Reply-To: <cover.1527143877.git.sandipan@linux.vnet.ibm.com> References: <cover.1527143877.git.sandipan@linux.vnet.ibm.com> In-Reply-To: <cover.1527143877.git.sandipan@linux.vnet.ibm.com> References: <cover.1527143877.git.sandipan@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18052406-0040-0000-0000-0000045CE9C7 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18052406-0041-0000-0000-000021014474 Message-Id: <1edf1b08f92895f191c9daa77df598de8cc7e323.1527143877.git.sandipan@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-24_02:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805240084 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
bpf: enhancements for multi-function programs
|
expand
|
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index c3e502d06bc3..0be90965867d 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -2205,6 +2205,8 @@ struct bpf_prog_info { __u32 gpl_compatible:1; __u64 netns_dev; __u64 netns_ino; + __u32 nr_jited_ksyms; + __aligned_u64 jited_ksyms; } __attribute__((aligned(8))); struct bpf_map_info {
Syncing the bpf.h uapi header with tools so that struct bpf_prog_info has the two new fields for passing on the addresses of the kernel symbols corresponding to each function in a program. Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com> --- v3: - Move new fields to the end of bpf_prog_info to avoid breaking userspace. --- tools/include/uapi/linux/bpf.h | 2 ++ 1 file changed, 2 insertions(+)