From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) by dpdk.org (Postfix) with ESMTP id D2135D466 for ; Wed, 29 Mar 2017 14:25:56 +0200 (CEST) X-AuditID: c1b4fb2d-25fff70000005be8-93-58dba7d43737 Received: from ESESSHC006.ericsson.se (Unknown_Domain [153.88.183.36]) by (Symantec Mail Security) with SMTP id D9.DE.23528.4D7ABD85; Wed, 29 Mar 2017 14:25:56 +0200 (CEST) Received: from elxafv3bk32 (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.38) with Microsoft SMTP Server id 14.3.339.0; Wed, 29 Mar 2017 14:25:35 +0200 Received: (nullmailer pid 3335 invoked by uid 999); Wed, 29 Mar 2017 12:25:34 -0000 Date: Wed, 29 Mar 2017 14:25:34 +0200 From: =?utf-8?B?TMOhc3psw7MgTW9sbsOhcg==?= To: Message-ID: <20170329122534.GO2871@elxafv3bk32> MIME-Version: 1.0 User-Agent: Mutt/1.5.24 (2015-08-30) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsUyM2K7iu6V5bcjDJYvlbd492k7kwOjx68F S1kDGKO4bFJSczLLUov07RK4Mm439TMV/GOv+HNzJlsD40q2LkZODgkBE4mVO84B2VwcQgLr GSXm3XjLAuEsZ5SYsXQLI0iVkECoxP+OvcxdjBwcLAKqEldXqIOE2QTcJSY9nMUMYosICEks /XiZHcQWBipZcbALrJVXQF+i/+d1dghbUOLkzCcsIDazgJVEz+/jrCAjmQWkJZb/4wAxRQVU JF4drIdYqi6x4mYn4wRGvllImmchaZ6F0AwR1pFYsPsTG4awrkTXsQNQnaYSR+5eYV/AyL6K UbQ4tbg4N93IWC+1KDO5uDg/Ty8vtWQTIzBUD275rbuDcfVrx0OMAhyMSjy8C5bcihBiTSwr rsw9xKgCNOfRhtUXGKVY8vLzUpVEeH/NAUrzpiRWVqUW5ccXleakFh9ilOZgURLnddh3IUJI ID2xJDU7NbUgtQgmy8TBKdXA2Bi4SuRhypVJp9/HmD/4IBppO0eP10UgPebg36aSI45rf7aE BOjvzH9Xd35mToBAZP49buPKaZJGl9/4vT2b8Ns0X+cdGwtHmcA+mQ1dR/x9t0zYsN9RJXEG 74VtlybxG129H3Z0G8/KB43uYbxS/T9KDbqWnN61/vuMIp6Dd+wa+1/v6PWpVGIpzkg01GIu Kk4EAHaL/+JdAgAA Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] bug in LPM handling (16.04+) 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: Wed, 29 Mar 2017 12:25:57 -0000 Hi, While testing the LPM implementation of DPDK (16.04+), I found that in some cases prefixes are not added correctly to the table. This problem seems to be caused by incorrect casts. See attached patch. L