Re: [dpdk-dev] [PATCH v2] examples/l2fwd-cat: fix build according to API changes

2017-09-18 Thread Bruce Richardson
On Mon, Sep 18, 2017 at 07:07:18PM +0300, Vladimir Kuramshin wrote: > I agree with you but the problem is that in this case I should also change > Makefile in order to add version checking there also but I don't know how to > write correct condition in Makefile that checks if it's higher or lower >

Re: [dpdk-dev] [PATCH v2] examples/l2fwd-cat: fix build according to API changes

2017-09-18 Thread Vladimir Kuramshin
I agree with you but the problem is that in this case I should also change Makefile in order to add version checking there also but I don't know how to write correct condition in Makefile that checks if it's higher or lower version, e.g. if PQOS_VERSION > 1.3 then ... else ... If there was som

Re: [dpdk-dev] [PATCH v2] examples/l2fwd-cat: fix build according to API changes

2017-09-18 Thread Bruce Richardson
On Thu, Sep 07, 2017 at 02:45:27PM +0300, Vladimir Kuramshin wrote: > Current version is compatible with PQOS version 1.3 > but not compatible with higher versions. This change > makes l2fwd-cat example compatible with versions since 1.4 > > Signed-off-by: Vladimir Kuramshin > --- > Version 2 cha

[dpdk-dev] [PATCH v2] examples/l2fwd-cat: fix build according to API changes

2017-09-07 Thread Vladimir Kuramshin
Current version is compatible with PQOS version 1.3 but not compatible with higher versions. This change makes l2fwd-cat example compatible with versions since 1.4 Signed-off-by: Vladimir Kuramshin --- Version 2 changes: fixed checkpatch warnings "Prefer 'unsigned int *' to bare use of 'unsigned