From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f174.google.com (mail-ot0-f174.google.com [74.125.82.174]) by dpdk.org (Postfix) with ESMTP id EFB5C1B016 for ; Thu, 7 Jun 2018 10:10:11 +0200 (CEST) Received: by mail-ot0-f174.google.com with SMTP id 101-v6so10496381oth.4 for ; Thu, 07 Jun 2018 01:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=igVG1sdtJSObGq7MAMg49A8lKMMDsIF2IgagE6B5K3o=; b=RPH1ghZI4hxeqYeWHGDgqT5jilxw0FxYIl2ZCYGapDyVvlhyoFSjmfuRTK03GIRtbN RDYW1dVHvbsoSvvXQXzKgheNtf5uolzmx1HlOVMNq/HYriRY/XcGYv9k5ig2O5qymqfg +Rs0G/YY8LeGYN8kN+ft2rHoDhEYtbGB8tKMhnWteiNccZ1dpjsBRefpJj3YaXKIV7bK wNeedWgoL5RCvkgqiP2mVNf6X8hZcccHP97Vsx//ICqUU66p9jaIsSSJyCZmGoYpdODn 3O+eP5btif+5yZdfNp0jNURcrqLlRU34wWH+z8ZiPSC0SvZQmQwGimd4s/5JKoHgpWuZ 1a7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=igVG1sdtJSObGq7MAMg49A8lKMMDsIF2IgagE6B5K3o=; b=XI1zIGlnNAYy0We9aWoQDnBSaQl6MmwohKfm8vxm5h5Tvw4xSqYEkrIRxXAtJRmYyT Q99v8EYzmxeHPjNrY/loQ91+TQwxFQ51p0Ojlmv/uIxdrWKgNkFal/pcnZI+21nyIW5m f0G7wpngfVK5kgwrqv5m/mnGw5i4YxEI1IMTQi8UHCquHi6ObPlEsAsN3VkGxo4TuwIb zSJAnClnXu3xIQ9+Nd3hirnsBHBlxXKQFRImtA43KLUJe6q6fmkM3aXhpz7rUUBDnhiq eUfnZEkQxsI9IYNajvSee25PHlClYPPOE7EWvgg0lqGRSM3D9xnhCkUVcyZ8SYHBhQHo Fmnw== X-Gm-Message-State: APt69E2I2DW8ahIrGEwwGTYmVlNgL4IZ7wm2a7MAlKorZfuSPcm9K5EQ oEJBVnH9pZ/98vCPywVwhqhRSvJM324h49ZPaRs= X-Google-Smtp-Source: ADUXVKLQTeeOPqY6xv3tiycdDf2t1bQ3yxNCXenFXXsUkKCTzHFYY/0ixrp5bqzfnnUFCg8lL9PSA4b22pd2z9WWCkQ= X-Received: by 2002:a9d:2713:: with SMTP id r19-v6mr445481ota.93.1528359011191; Thu, 07 Jun 2018 01:10:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:acc7:0:0:0:0:0 with HTTP; Thu, 7 Jun 2018 01:10:10 -0700 (PDT) From: hongbo liu Date: Thu, 7 Jun 2018 16:10:10 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Why rte_pipeline.c only support forwarding to same table in different entries? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 08:10:12 -0000 Hi, It is confusing when designing pipeline table. I am trying to have one ACL table 0 to forward different traffic to different table, but it failed. And I noticed that the following checks in rte_pipeline.c: /**************************************************************** if ((entry->action == RTE_PIPELINE_ACTION_TABLE) && table->table_next_id_valid && (entry->table_id != table->table_next_id)) { RTE_LOG(ERR, PIPELINE, "%s: Tree-like topologies not allowed\n", __func__); return -EINVAL; } ****************************************************************/ Is there any reason why adding this limitation? In openflow, the limitation is the forward table_id must be larger than current table_id, and the final table should not have forward table action. By the way, it still does not work after removing upper checks. Is it difficult to support forwarding to multiple tables in different entries? -- Hobby