Re: [dpdk-dev] raw pattern for rte_flow

2018-12-16 Thread Zhao1, Wei
More info for this problem: Old type filter can get actual number from CLI because there is a function xdigit2val(unsigned char c) for it. Maybe flow CLI also need one. From: Zhao1, Wei Sent: Monday, December 17, 2018 3:06 PM To: adrien.mazarg...@6wind.com Cc: Peng, Yuan ; dev@dpdk.org; Zhang, Q

[dpdk-dev] raw pattern for rte_flow

2018-12-16 Thread Zhao1, Wei
Hi,adrien By now, we need to enable flexible byte filter for ixgbe, but PMD can not work well. Because in RTE_FLOW_ITEM_TYPE_RAW type pattern, the key parameters (const uint8_t *pattern) in struct rte_flow_item_raw, which we get rte_flow command line is ASIC number not the actual number. For exa