Wei Huang 687833fffa raw/ifpga/base: check size before assigning
In max10_staging_area_init(), variable "size" from fdt_get_reg() may
be invalid, it should be checked before assigning to member variable
"staging_area_size" of structure "intel_max10_device".

Coverity issue: 367480, 367482
Fixes: 96ebfcf8125c ("raw/ifpga/base: add SPI and MAX10 device driver")
Cc: stable@dpdk.org

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
2021-04-19 10:13:27 +02:00
..
2020-04-16 18:30:58 +02:00
2021-03-05 09:55:55 +01:00
2019-11-20 17:36:05 +01:00
2019-11-20 17:36:05 +01:00
2021-03-05 09:55:55 +01:00

..

/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2010-2018 Intel Corporation
 */

Intel iFPGA driver
==================

This directory contains source code of Intel FPGA driver released by
the team which develops Intel FPGA Open Programmable Acceleration Engine (OPAE).
The directory of base/ contains the original source package. The base code
currently supports Intel FPGA solutions including integrated solution (Intel(R)
Xeon(R) CPU with FPGAs) and discrete solution (Intel(R) Programmable Acceleration
Card with Intel(R) Arria(R) 10 FPGA) and it could be extended to support more FPGA
devices in the future.

Please refer to [1][2] for more introduction on OPAE and Intel FPGAs.

[1] https://01.org/OPAE
[2] https://www.altera.com/solutions/acceleration-hub/overview.html


Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

	osdep_raw/osdep_generic.h
	osdep_rte/osdep_generic.h


New Features
==================

2019-03:
Support Intel FPGA PAC N3000 card.
Some features added in this version:
1. Store private features in FME and Port list.
2. Add eth group devices driver.
3. Add altera SPI master driver and Intel MAX10 device driver.
4. Add Altera I2C master driver and AT24 eeprom driver.
5. Add Device Tree support to get the configuration from card.
6. Instruding and exposing APIs to DPDK PMD driver to access networking
functionality.