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