From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by dpdk.org (Postfix) with ESMTP id 411277CE1 for ; Thu, 30 Nov 2017 17:54:20 +0100 (CET) Received: by mail-pl0-f67.google.com with SMTP id x22so4568253pln.11 for ; Thu, 30 Nov 2017 08:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NAoBu/CNunU3O0jENnuwtdgRFOrqNTQJyQVnKjxtUPI=; b=llR+bESpp0ZGneqlXkHn/5Gk4V/QmIm5CIGGKXzJP0dxB6u2fRYSC9O5pzuLiDS7bH rmnspAb6jxQWPpJtZb46wcsifAR8J96EJFG/cKqzJE/sODgPqEfte2xDpxXC03HydGrJ XXiUZTOoK3/W18AW6OPmeQuY5QUWykljDF4nmmsPiwK0o3fC/IUcHp0vUySUY8Fw5Rl+ Y2nio81Sygyv8kgNXwogXpIPCWCkssuCnw3nA+jselPg1iNfLf9ura+UVTWRvh+YRAf7 5tmCPgTI/CaMQaQVkNHXZTXflvq86dwJdcPlje7ogJ+SOqEyR31mDE5/PLYKbUd60jTk MosQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NAoBu/CNunU3O0jENnuwtdgRFOrqNTQJyQVnKjxtUPI=; b=bXkrxhypUogiB5g/WZMWE9cVz3tkYg1wotQYXkhGZJZ5vbnGg2VvIWQCbp174e0vzL S8nZBSkpk3BIHl4EHRjrmxwUwzxdiVGUQIOy8WF0Hv6HcjNnN2i4ydP3QRx/62U4/F1H coKtxKzHrDap86Fye1NZa3/vVF+sV1x5s/thuhT33OoggwFP9ckHSJnwMuskva373NQL GRJiq6uSVcfJ+Tkg/yejRH9dkJ3OKElrAEuWm6Opcf+wNtK+fjI35zSDOTgzoEqnh2C7 Td7mxvYUMHOOFWBnRkqw1vLGya6Io6lN67W8TE6/IrdYbquqclpAHhrLEbHWxiQSjjiK Dolw== X-Gm-Message-State: AJaThX67LXs2X0nhPWAglp4BIqitdRXlVPxML7nm68yWotU5qe7Ob0aa YQ1ZiVCkVERjJ1OG9x8CKDSUAeVCJBk= X-Google-Smtp-Source: AGs4zMZerbr4ZstXajdiD9g3EnghnjnMsOmuFH4/SeRooCKwBPs6PWU5FH/IMQt5K0Zur6RiW9i5Aw== X-Received: by 10.159.255.74 with SMTP id u10mr3217421pls.116.1512060857801; Thu, 30 Nov 2017 08:54:17 -0800 (PST) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id y7sm7810205pfe.8.2017.11.30.08.54.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Nov 2017 08:54:17 -0800 (PST) Date: Thu, 30 Nov 2017 08:54:08 -0800 From: Stephen Hemminger To: Ophir Munk Cc: dev@dpdk.org, Thomas Monjalon , Olga Shern , Pascal Mazon Message-ID: <20171130085408.0c7d68c2@xeon-e3> In-Reply-To: <1512028870-13597-2-git-send-email-ophirmu@mellanox.com> References: <1512028870-13597-1-git-send-email-ophirmu@mellanox.com> <1512028870-13597-2-git-send-email-ophirmu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 2/2] net/tap: add eBPF instructions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2017 16:54:21 -0000 On Thu, 30 Nov 2017 08:01:10 +0000 Ophir Munk wrote: > +static struct bpf_insn l2_src_hash_insns[] = { > + {0xbf, 7, 1, 0, 0x00000000}, > + {0x61, 6, 7, 16, 0x00000000}, > + {0x61, 9, 7, 76, 0x00000000}, > + {0x61, 8, 7, 80, 0x00000000}, > + {0x18, 1, 0, 0, 0xdeadbeef}, > + {0x00, 0, 0, 0, 0x00000000}, > + {0x63, 10, 1, -4, 0x00000000}, > + {0x61, 1, 7, 48, 0x00000000}, > + {0x7b, 10, 1, -56, 0x00000000}, > + {0xbf, 2, 10, 0, 0x00000000}, > + {0x07, 2, 0, 0, 0xfffffffc}, > + {0x18, 1, 1, 0, 0xffffffff}, > + {0x00, 0, 0, 0, 0x00000000}, > + {0x85, 0, 0, 0, 0x00000001}, > + {0x55, 0, 0, 21, 0x00000000}, > + {0xb7, 1, 0, 0, 0x00000a64}, > + {0x6b, 10, 1, -16, 0x00000000}, > + {0x18, 1, 0, 0, 0x69666e6f}, > + {0x00, 0, 0, 0, 0x65727567}, > + {0x7b, 10, 1, -24, 0x00000000}, > + {0x18, 1, 0, 0, 0x6e207369}, > + {0x00, 0, 0, 0, 0x6320746f}, > + {0x7b, 10, 1, -32, 0x00000000}, > + {0x18, 1, 0, 0, 0x20737372}, > + {0x00, 0, 0, 0, 0x2079656b}, > + {0x7b, 10, 1, -40, 0x00000000}, > + {0x18, 1, 0, 0, 0x68736168}, > + {0x00, 0, 0, 0, 0x203a2928}, > + {0x7b, 10, 1, -48, 0x00000000}, > + {0xb7, 7, 0, 0, 0x00000000}, > + {0x73, 10, 7, -14, 0x00000000}, > + {0xbf, 1, 10, 0, 0x00000000}, > + {0x07, 1, 0, 0, 0xffffffd0}, > + {0xb7, 2, 0, 0, 0x00000023}, > + {0x85, 0, 0, 0, 0x00000006}, > + {0x05, 0, 0, 543, 0x00000000}, > + {0xb7, 1, 0, 0, 0x0000000e}, > + {0x61, 2, 7, 20, 0x00000000}, > + {0x15, 2, 0, 10, 0x00000000}, > + {0x61, 2, 7, 28, 0x00000000}, > + {0x55, 2, 0, 8, 0x0000a888}, > + {0xbf, 2, 7, 0, 0x00000000}, > + {0xb7, 7, 0, 0, 0x00000000}, > + {0xbf, 1, 9, 0, 0x00000000}, > + {0x07, 1, 0, 0, 0x00000012}, > + {0x2d, 1, 8, 533, 0x00000000}, > + {0xb7, 1, 0, 0, 0x00000012}, > + {0x69, 6, 9, 16, 0x00000000}, > + {0xbf, 7, 2, 0, 0x00000000}, > + {0x61, 2, 0, 128, 0x00000000}, > + {0xbf, 3, 2, 0, 0x00000000}, > + {0x57, 3, 0, 0, 0x00000001}, > + {0xb7, 4, 0, 0, 0x00000000}, > + {0x1d, 3, 4, 1, 0x00000000}, > + {0x07, 0, 0, 0, 0x00000006}, > + {0x57, 2, 0, 0, 0x00000002}, > + {0x15, 2, 0, 508, 0x00000000}, > + {0x7b, 10, 7, -64, 0x00000000}, > + {0xb7, 7, 0, 0, 0x00000000}, > + {0xbf, 1, 9, 0, 0x00000000}, > + {0x07, 1, 0, 0, 0x0000000c}, > + {0x2d, 1, 8, 517, 0x00000000}, > + {0x71, 1, 0, 0, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000018}, > + {0x71, 6, 0, 1, 0x00000000}, > + {0x67, 6, 0, 0, 0x00000010}, > + {0x4f, 6, 1, 0, 0x00000000}, > + {0x71, 1, 0, 2, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000008}, > + {0x4f, 6, 1, 0, 0x00000000}, > + {0x71, 1, 0, 3, 0x00000000}, > + {0x4f, 6, 1, 0, 0x00000000}, > + {0x71, 5, 9, 6, 0x00000000}, > + {0x67, 5, 0, 0, 0x00000038}, > + {0xc7, 5, 0, 0, 0x00000038}, > + {0xb7, 2, 0, 0, 0x00000000}, > + {0xb7, 3, 0, 0, 0xffffffff}, > + {0xb7, 4, 0, 0, 0x00000000}, > + {0x6d, 5, 3, 1, 0x00000000}, > + {0xbf, 4, 6, 0, 0x00000000}, > + {0x79, 1, 10, -56, 0x00000000}, > + {0xaf, 4, 1, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x00000001}, > + {0x71, 7, 0, 4, 0x00000000}, > + {0xbf, 1, 7, 0, 0x00000000}, > + {0x77, 1, 0, 0, 0x00000007}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x00000039}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000006}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003a}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000005}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003b}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000004}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003c}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000003}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003d}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000002}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003e}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000001}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0x67, 5, 0, 0, 0x0000003f}, > + {0xc7, 5, 0, 0, 0x0000003f}, > + {0x5f, 5, 1, 0, 0x00000000}, > + {0xaf, 4, 5, 0, 0x00000000}, > + {0x57, 7, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 7, 0, 0x00000000}, > + {0x71, 5, 9, 7, 0x00000000}, > + {0x67, 5, 0, 0, 0x00000038}, > + {0xc7, 5, 0, 0, 0x00000038}, > + {0xb7, 6, 0, 0, 0x00000000}, > + {0x6d, 5, 3, 1, 0x00000000}, > + {0xbf, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x71, 7, 0, 5, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000007}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x00000039}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000006}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003a}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000005}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003b}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000004}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003c}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000003}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003d}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000002}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003e}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000001}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0x67, 5, 0, 0, 0x0000003f}, > + {0xc7, 5, 0, 0, 0x0000003f}, > + {0x5f, 5, 1, 0, 0x00000000}, > + {0xaf, 4, 5, 0, 0x00000000}, > + {0x57, 7, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 7, 0, 0x00000000}, > + {0x71, 5, 9, 8, 0x00000000}, > + {0x67, 5, 0, 0, 0x00000038}, > + {0xc7, 5, 0, 0, 0x00000038}, > + {0xb7, 6, 0, 0, 0x00000000}, > + {0x6d, 5, 3, 1, 0x00000000}, > + {0xbf, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x71, 7, 0, 6, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000007}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x00000039}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000006}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003a}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000005}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003b}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000004}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003c}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000003}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003d}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000002}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003e}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000001}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0x67, 5, 0, 0, 0x0000003f}, > + {0xc7, 5, 0, 0, 0x0000003f}, > + {0x5f, 5, 1, 0, 0x00000000}, > + {0xaf, 4, 5, 0, 0x00000000}, > + {0x57, 7, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 7, 0, 0x00000000}, > + {0x71, 5, 9, 9, 0x00000000}, > + {0x67, 5, 0, 0, 0x00000038}, > + {0xc7, 5, 0, 0, 0x00000038}, > + {0xb7, 6, 0, 0, 0x00000000}, > + {0x6d, 5, 3, 1, 0x00000000}, > + {0xbf, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x71, 7, 0, 7, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000007}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x00000039}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000006}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003a}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000005}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003b}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000004}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003c}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000003}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003d}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000002}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003e}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000001}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0x67, 5, 0, 0, 0x0000003f}, > + {0xc7, 5, 0, 0, 0x0000003f}, > + {0x5f, 5, 1, 0, 0x00000000}, > + {0xaf, 4, 5, 0, 0x00000000}, > + {0x57, 7, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 7, 0, 0x00000000}, > + {0x71, 5, 9, 10, 0x00000000}, > + {0x67, 5, 0, 0, 0x00000038}, > + {0xc7, 5, 0, 0, 0x00000038}, > + {0xb7, 6, 0, 0, 0x00000000}, > + {0x6d, 5, 3, 1, 0x00000000}, > + {0xbf, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x71, 7, 0, 8, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000007}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x00000039}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000006}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003a}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000005}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003b}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000004}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003c}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000003}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003d}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000002}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0xbf, 6, 5, 0, 0x00000000}, > + {0x67, 6, 0, 0, 0x0000003e}, > + {0xc7, 6, 0, 0, 0x0000003f}, > + {0x5f, 6, 1, 0, 0x00000000}, > + {0xaf, 4, 6, 0, 0x00000000}, > + {0xbf, 6, 7, 0, 0x00000000}, > + {0x77, 6, 0, 0, 0x00000001}, > + {0x57, 6, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 6, 0, 0x00000000}, > + {0x67, 5, 0, 0, 0x0000003f}, > + {0xc7, 5, 0, 0, 0x0000003f}, > + {0x5f, 5, 1, 0, 0x00000000}, > + {0xaf, 4, 5, 0, 0x00000000}, > + {0x57, 7, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 7, 0, 0x00000000}, > + {0x71, 5, 9, 11, 0x00000000}, > + {0x67, 5, 0, 0, 0x00000038}, > + {0xc7, 5, 0, 0, 0x00000038}, > + {0x6d, 5, 3, 1, 0x00000000}, > + {0xbf, 2, 1, 0, 0x00000000}, > + {0xaf, 4, 2, 0, 0x00000000}, > + {0x71, 2, 0, 9, 0x00000000}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0xbf, 3, 2, 0, 0x00000000}, > + {0x77, 3, 0, 0, 0x00000007}, > + {0x4f, 1, 3, 0, 0x00000000}, > + {0xbf, 3, 5, 0, 0x00000000}, > + {0x67, 3, 0, 0, 0x00000039}, > + {0xc7, 3, 0, 0, 0x0000003f}, > + {0x5f, 3, 1, 0, 0x00000000}, > + {0xaf, 4, 3, 0, 0x00000000}, > + {0xbf, 3, 2, 0, 0x00000000}, > + {0x77, 3, 0, 0, 0x00000006}, > + {0x57, 3, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 3, 0, 0x00000000}, > + {0xbf, 3, 5, 0, 0x00000000}, > + {0x67, 3, 0, 0, 0x0000003a}, > + {0xc7, 3, 0, 0, 0x0000003f}, > + {0x5f, 3, 1, 0, 0x00000000}, > + {0xaf, 4, 3, 0, 0x00000000}, > + {0xbf, 3, 2, 0, 0x00000000}, > + {0x77, 3, 0, 0, 0x00000005}, > + {0x57, 3, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 3, 0, 0x00000000}, > + {0xbf, 3, 5, 0, 0x00000000}, > + {0x67, 3, 0, 0, 0x0000003b}, > + {0xc7, 3, 0, 0, 0x0000003f}, > + {0x5f, 3, 1, 0, 0x00000000}, > + {0xaf, 4, 3, 0, 0x00000000}, > + {0xbf, 3, 2, 0, 0x00000000}, > + {0x77, 3, 0, 0, 0x00000004}, > + {0x57, 3, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 3, 0, 0x00000000}, > + {0xbf, 3, 5, 0, 0x00000000}, > + {0x67, 3, 0, 0, 0x0000003c}, > + {0xc7, 3, 0, 0, 0x0000003f}, > + {0x5f, 3, 1, 0, 0x00000000}, > + {0xaf, 4, 3, 0, 0x00000000}, > + {0xbf, 3, 2, 0, 0x00000000}, > + {0x77, 3, 0, 0, 0x00000003}, > + {0x57, 3, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 3, 0, 0x00000000}, > + {0xbf, 3, 5, 0, 0x00000000}, > + {0x67, 3, 0, 0, 0x0000003d}, > + {0xc7, 3, 0, 0, 0x0000003f}, > + {0x5f, 3, 1, 0, 0x00000000}, > + {0xaf, 4, 3, 0, 0x00000000}, > + {0xbf, 3, 2, 0, 0x00000000}, > + {0x77, 3, 0, 0, 0x00000002}, > + {0x57, 3, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 3, 0, 0x00000000}, > + {0xbf, 3, 5, 0, 0x00000000}, > + {0x67, 3, 0, 0, 0x0000003e}, > + {0xc7, 3, 0, 0, 0x0000003f}, > + {0x5f, 3, 1, 0, 0x00000000}, > + {0xaf, 4, 3, 0, 0x00000000}, > + {0x77, 2, 0, 0, 0x00000001}, > + {0x57, 2, 0, 0, 0x00000001}, > + {0x67, 1, 0, 0, 0x00000001}, > + {0x4f, 1, 2, 0, 0x00000000}, > + {0x67, 5, 0, 0, 0x0000003f}, > + {0xc7, 5, 0, 0, 0x0000003f}, > + {0x5f, 5, 1, 0, 0x00000000}, > + {0xaf, 4, 5, 0, 0x00000000}, > + {0x79, 1, 10, -64, 0x00000000}, > + {0x63, 1, 4, 48, 0x00000000}, > + {0x18, 1, 0, 0, 0x25203d20}, > + {0x00, 0, 0, 0, 0x000a2964}, > + {0x7b, 10, 1, -24, 0x00000000}, > + {0x18, 1, 0, 0, 0x20782520}, > + {0x00, 0, 0, 0, 0x66666f28}, > + {0x7b, 10, 1, -32, 0x00000000}, > + {0x18, 1, 0, 0, 0x6168203a}, > + {0x00, 0, 0, 0, 0x3d206873}, > + {0x7b, 10, 1, -40, 0x00000000}, > + {0x18, 1, 0, 0, 0x68736168}, > + {0x00, 0, 0, 0, 0x29642528}, > + {0x7b, 10, 1, -48, 0x00000000}, > + {0xbf, 1, 10, 0, 0x00000000}, > + {0x07, 1, 0, 0, 0xffffffd0}, > + {0xb7, 2, 0, 0, 0x00000020}, > + {0xb7, 3, 0, 0, 0x00000001}, > + {0xb7, 5, 0, 0, 0x00000006}, > + {0x85, 0, 0, 0, 0x00000006}, > + {0x05, 0, 0, 13, 0x00000000}, > + {0x57, 6, 0, 0, 0x0000ffff}, > + {0x15, 6, 0, 7, 0x0000dd86}, > + {0xb7, 7, 0, 0, 0x00000003}, > + {0x55, 6, 0, 10, 0x00000008}, > + {0x0f, 9, 1, 0, 0x00000000}, > + {0x07, 9, 0, 0, 0x00000014}, > + {0xb7, 7, 0, 0, 0x00000000}, > + {0x2d, 9, 8, 6, 0x00000000}, > + {0x05, 0, 0, 4, 0x00000000}, > + {0x0f, 9, 1, 0, 0x00000000}, > + {0x07, 9, 0, 0, 0x00000028}, > + {0xb7, 7, 0, 0, 0x00000000}, > + {0x2d, 9, 8, 1, 0x00000000}, > + {0xb7, 7, 0, 0, 0x00000003}, > + {0xbf, 0, 7, 0, 0x00000000}, > + {0x95, 0, 0, 0, 0x00000000}, > +}; Loading BPF is a could solution to doing dynamic flow matching. It needs to be done differently to be accepted. Putting raw machine instructions in source code is as bad as binary blobs. You need to provide original source of program and then have build instructions to create any needed code. There licensing concerns here as well. Any BPF program inserted in the kernel must be GPL. So you need to provide source. Given the license overlap you should also document that in the rte_flow_tap.rst file. < The program that loads the program can be BSD, it just needs to pick up the BPF firmware file from a compiled ELF image.