Andrew Rybchenko 827ad8232c net/sfc: fix align to power of 2 when align has smaller type
Substitute driver-defined P2ALIGN() with EFX_P2ALIGN() defined in
libefx.

Cast value and alignment to one specified type to guarantee result
correctness.

Fixes: e1b944598579 ("net/sfc: build libefx")
Cc: stable@dpdk.org

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-07-24 21:01:11 +02:00
..
2019-06-20 23:42:04 +02:00

   SPDX-License-Identifier: BSD-3-Clause

   Copyright (c) 2006-2018 Solarflare Communications Inc.
   All rights reserved.

Solarflare libefx driver library
================================

This directory contains source code of Solarflare Communications libefx
driver library of version v4.10.0.1012.

Updating
========

The source code in this directory should not be modified.
Please contact the driver maintainers to request changes.