DPDK patches and discussions
 help / color / mirror / Atom feed
From: Vladimir Kuramshin <v.kuramshin@samsung.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: tomasz.kantecki@intel.com, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] examples/l2fwd-cat: fix build according to API changes
Date: Mon, 18 Sep 2017 19:07:18 +0300	[thread overview]
Message-ID: <30bb4049-6336-5a61-b0bd-75924398f9be@samsung.com> (raw)
In-Reply-To: <20170918144918.GA16860@bricha3-MOBL3.ger.corp.intel.com>

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 some spec file I'd add such checking there but I have 
Makefile only.


Regards,
Vladimir Kuramshin

On 18.09.2017 17:49, Bruce Richardson wrote:
> 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 <v.kuramshin@samsung.com>
>> ---
>> Version 2 changes: fixed checkpatch warnings
>> "Prefer 'unsigned int *' to bare use of 'unsigned *'"
>>
> I can confirm this at least allows the code to compile with the latest
> versions of the pqos library, which is currently broken.
>
> One enhancement might be to put into our code a check for PQOS_VERSION
> from pqos.h (which is, interestingly enough, currently at 1.1), to flag
> when we have an unsupported version - right now one that is too old.
>
> Otherwise, this is a good fix to have.
>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
>
>
>

  reply	other threads:[~2017-09-18 16:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170829095235eucas1p1c53a2ad6ba980aad25d51dfb6c6b8dd7@eucas1p1.samsung.com>
2017-08-29  9:51 ` [dpdk-dev] [PATCH] " Vladimir Kuramshin
     [not found]   ` <CGME20170907114552eucas1p182c484310d70f1d52f64b9ea7fb96ed6@eucas1p1.samsung.com>
2017-09-07 11:45     ` [dpdk-dev] [PATCH v2] " Vladimir Kuramshin
2017-09-18 14:49       ` Bruce Richardson
2017-09-18 16:07         ` Vladimir Kuramshin [this message]
2017-09-18 16:18           ` Bruce Richardson
     [not found]       ` <CGME20170919081803eucas1p255aac78e316693ea52c85e31bbfcc81b@eucas1p2.samsung.com>
2017-09-19  8:17         ` [dpdk-dev] [PATCH v3] " Vladimir Kuramshin
2017-09-19  8:56           ` Bruce Richardson
2017-09-19  9:23             ` Vladimir Kuramshin
     [not found]           ` <CGME20170919094052eucas1p12138437b5d1f66086b82c98cd1464e37@eucas1p1.samsung.com>
2017-09-19  9:40             ` [dpdk-dev] [PATCH v4] " Vladimir Kuramshin
2017-09-19 10:47               ` Bruce Richardson
2017-10-13 22:28                 ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30bb4049-6336-5a61-b0bd-75924398f9be@samsung.com \
    --to=v.kuramshin@samsung.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=tomasz.kantecki@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).