From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/test/test_table_acl: fill missing field Date: Fri, 01 Apr 2016 23:00:09 +0200 Message-ID: <1590586.sc5rf4grtj@xps13> References: <1459525207-24554-1-git-send-email-roy.fan.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Fan Zhang Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id B9CE42B98 for ; Fri, 1 Apr 2016 23:01:46 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id 191so4560730wmq.0 for ; Fri, 01 Apr 2016 14:01:46 -0700 (PDT) In-Reply-To: <1459525207-24554-1-git-send-email-roy.fan.zhang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-04-01 16:40, Fan Zhang: > This patch fills the missing field of ipv4_5tuple structure in acl table > test. I still don't understand why it is needed. > struct ipv4_5tuple { > + uint8_t ttl; > uint8_t proto; > + uint16_t checksum; > uint32_t ip_src; > uint32_t ip_dst; > uint16_t port_src; Adding 2 fields to a 5-tuple makes it a 7-tuple.