From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id D7485FB11 for ; Tue, 20 Dec 2016 10:50:57 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id g23so115644668wme.1 for ; Tue, 20 Dec 2016 01:50:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=NhKCZz5A3OV1ob3ZfwzyNJWM/B0d169JHTADMFGS94E=; b=KrBquOEyplWY3fbMB2xLUOytEkdm0saSFzIADL8IPEcAWDn7XMQpeV+mmA18vt42Qa x6+IZYcQbfL8uq9MSwKNHTbNGV6HA6dOWLJJJ98Lq4ujZzHUp2L4lml+k/smHSjSfVHM etENsCI3GjaEa1vM9zFzCNu0dt6qnaYPPRdabf9KVi25/t2qyz+OdU877s9lSTB59e4U aiMiDzlggsK43LzCzfpy9K3QcMhx1xhlHMCJkRUTghltF87adCUV/58YmOKL6HGK5w7d YMlmxJOqy2rLxwmTcmcrq2nYjzS2GiwUVVqG/JBf4AF6BpvilbDM129kDlV256THUlQQ nqUA== 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:references :mime-version:content-disposition:in-reply-to; bh=NhKCZz5A3OV1ob3ZfwzyNJWM/B0d169JHTADMFGS94E=; b=iQeXB9D+rqJ9m+5R7SjrIoV+4moygyyMdQ39K9/RdsvlIPqQqOWAbEGUc6VNby7kO2 mg93CbRGZ5c0v4rB0WBJjmU2EfCl0hn+iFEctk20VlR+oIr75xh/A94zgNZKXW2+jgw0 UzkJIeOA/i4hTpbqTUZobxnIYTddUb/J4sIv+EUmxkv7MJAG2La9Vbawk3sDKIhWQ402 Oi/N7qSIwWgWz8fYtqmYESnFDiPPZDAtgQ+fqUGAqKTE0S2M6uT4+uondRF+CsLDc5q+ egQHtBCELlm7xGW3HUvsWoPl/az1kKw8kC43VYbVPk24uxmoDOD0E9J3Jiz0izzQFaQZ GpJw== X-Gm-Message-State: AIkVDXII+NfGjljxbjvu4rf772n2kgGtZOXyFADthYeviEww95I7Vdqgf/v09RNJ7f0NPd+8 X-Received: by 10.28.196.207 with SMTP id u198mr1065882wmf.102.1482227457624; Tue, 20 Dec 2016 01:50:57 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id n17sm24742063wjq.6.2016.12.20.01.50.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Dec 2016 01:50:56 -0800 (PST) Date: Tue, 20 Dec 2016 10:50:49 +0100 From: Adrien Mazarguil To: "Pei, Yulong" Cc: "dev@dpdk.org" , "Xing, Beilei" Message-ID: <20161220095049.GQ10340@6wind.com> References: <11827edfa78272fe967e5a53451a3f48c6d7d17a.1482168851.git.adrien.mazarguil@6wind.com> <188971FCDA171749BED5DA74ABF3E6F03B66D499@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <188971FCDA171749BED5DA74ABF3E6F03B66D499@shsmsx102.ccr.corp.intel.com> Subject: Re: [dpdk-dev] [PATCH v3 22/25] app/testpmd: add L4 items to flow command 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: Tue, 20 Dec 2016 09:50:58 -0000 Hi Yulong, On Tue, Dec 20, 2016 at 09:14:55AM +0000, Pei, Yulong wrote: > Hi Adrien, > > For SCTP, it may need support to set 'tag' since in FDIR (--pkt-filter-mode=perfect) need set it when filter sctp flow. > > struct sctp_hdr { > uint16_t src_port; /**< Source port. */ > uint16_t dst_port; /**< Destin port. */ > uint32_t tag; /**< Validation tag. */ > uint32_t cksum; /**< Checksum. */ > } __attribute__((__packed__)); > > testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / sctp > src [TOKEN]: SCTP source port > dst [TOKEN]: SCTP destination port > / [TOKEN]: specify next pattern item Sure, let's add it in a subsequent patch after this series is applied, it is only a few lines of code in testpmd (basically like all missing protocol fields). -- Adrien Mazarguil 6WIND