From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) by dpdk.org (Postfix) with ESMTP id 467852B89; Tue, 15 Nov 2016 06:10:10 +0100 (CET) Received: by mail-qt0-f170.google.com with SMTP id n6so61497725qtd.1; Mon, 14 Nov 2016 21:10:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=dvEFhWOO6uzqBfC7M/RQhFNUAHajtMHeGOqMXjfr15U=; b=rjv/tAXVWGdLns28j4c5cqz8ffdWm5VRtObjvO+IafK2nGdHrR9bzLD4axIsYN7bqX 4eTzhtlKPpfxBy38mBze+uwIBCmEuNax5nG8LyybEW+lRn1O3qsxqm9b5UXftJ93JETB HRSsROMU+uv7t+Plk22YqyzkEqXKI/vDZ/7IwnJ64Xpss3WIqDSPv5xYMT22t7paFcRs eu+ivylLAFblPa/yjUG61+6lSIwoNPssYjK6Uw+t6ORLHVWTC83doyqDwUCjshhrmp7C aTSYhvxlcU7LWqnoxBiIW4K52/ZIUbEXJiszBvDtNaNr6aUXft84lt1HhQyZkghNpcR8 KHWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dvEFhWOO6uzqBfC7M/RQhFNUAHajtMHeGOqMXjfr15U=; b=N9N9rRdqu1zRr+jHtx07s1s3EorQJkdSiW7+a9HZmE1mw6EfmEoIpoN6bIU/PzM3kY HcE3s1KL5RfmgXzPv0Sa7M1PiikxLdwLRc+9JDegUR+ZnUHDJtpZgUCxlZxoPFN27oBF HNGM0IxVSM26UlG/FKpldzaYYLVL9bS1lDjtUYrPFVTWwz2xlk7TRONMUswkW7IEXBrU Zh+KTEG2sO4LL2BYF14DXfnQXiXjpTXZCPdeHN8VmXQe5yDSwbCNbLnpIV1Y2r4pLFP8 sHKmpykTqb6e5ZVNJJwUJFu/hfYPryJf4NI32OG/TJ0pkfQhx4dJ8/PhaL28Vj0D+jN1 5Ygg== X-Gm-Message-State: ABUngveErZgFWGKENSQifx1TjIlg/Bu0revGp09Eow0MlSdS+ywWgv/eJUtS2vblhzLd7S3CsvOfef2SJ/l5ww== X-Received: by 10.237.59.230 with SMTP id s35mr13810925qte.151.1479186609516; Mon, 14 Nov 2016 21:10:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.137.68 with HTTP; Mon, 14 Nov 2016 21:10:09 -0800 (PST) From: Nikhil Jagtap Date: Tue, 15 Nov 2016 10:40:09 +0530 Message-ID: To: konstantin.ananyev@intel.com, dev@dpdk.org, users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] acl: delete/modify rule support X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2016 05:10:10 -0000 Hi, I had a couple of questions about ACL support in DPDK. 1) Is it possible to build the ACL context over a period of time, one rule at a time by calling build post each add operation? Something like this : rte_acl_add_rules(ctx, rule1, 1); rte_acl_build(ctx, build_cfg); rte_acl_add_rules(ctx, rule2, 1); rte_acl_build(ctx, build_cfg); rte_acl_add_rules(ctx, rule3, 1); rte_acl_build(ctx, build_cfg); I tried this, and it seems to be working - but still wanted to confirm. 2) I did not find any delete-rule API. I understand from one of the email archives (http://dpdk.org/ml/archives/dev/2015-June/018868.html) that it is not supported. Any specific reason why deletion of rule is not supported? Any plan to support it? Any alternative way other than destroying the whole context, adding the new set of rules and building the rules again? Regards, Nikhil