[dpdk-dev] [PATCH 17/49] net/ice/base: use macro instead of magic 8
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Jun 5 12:39:07 CEST 2019
On 6/4/19 7:42 AM, Leyi Rong wrote:
> Replace the use of the magic number 8 by BITS_PER_BYTE when calculating
> the number of bits from the number of bytes.
>
> Signed-off-by: Bruce Allan<bruce.w.allan at intel.com>
> Signed-off-by: Paul M Stillwell Jr<paul.m.stillwell.jr at intel.com>
> Signed-off-by: Leyi Rong<leyi.rong at intel.com>
> ---
> drivers/net/ice/base/ice_flex_pipe.c | 4 +-
> drivers/net/ice/base/ice_flow.c | 74 +++++++++++++++-------------
> 2 files changed, 43 insertions(+), 35 deletions(-)
Acked-by: Maxime Coquelin <maxime.coquelin at redhat.com>
More information about the dev
mailing list