Rasesh Mody 679fe2e426 net/qede/base: fix FreeBSD build
This patch addresses compilation errors on FreeBSD with clang 3.8.0.

drivers/net/qede/base/ecore_cxt.c:1257:2: error:
     shifting a negative signed value is undefined
          SET_FIELD(cdu_params, CDUC_NCIB, elems_per_page);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/qede/base/ecore.h:82:27: note: expanded from macro 'SET_FIELD'
          (value) &= ~(name##_MASK << name##_SHIFT);
                    ~~~~~~~~~~~ ^

Fixes: ec94dbc57362 ("qede: add base driver")
Cc: stable@dpdk.org

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
2017-01-30 22:18:26 +01:00
..
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:22 +02:00
2017-01-17 19:40:54 +01:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:22 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2016-10-26 19:42:21 +02:00
2017-01-30 22:18:26 +01:00