mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 07:04:44 +00:00
7e00fb3f16
Move device specific PFVF logic related to the VF to the newly created adf_gen2_pfvf.c. This refactory is done to isolate the GEN2 PFVF code into its own file in preparation for the introduction of support for PFVF for GEN4 devices. Signed-off-by: Marco Chiappero <marco.chiappero@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 lines
652 B
C
18 lines
652 B
C
/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
|
|
/* Copyright(c) 2015 - 2020 Intel Corporation */
|
|
#ifndef ADF_C62XVF_HW_DATA_H_
|
|
#define ADF_C62XVF_HW_DATA_H_
|
|
|
|
#define ADF_C62XIOV_PMISC_BAR 1
|
|
#define ADF_C62XIOV_ACCELERATORS_MASK 0x1
|
|
#define ADF_C62XIOV_ACCELENGINES_MASK 0x1
|
|
#define ADF_C62XIOV_MAX_ACCELERATORS 1
|
|
#define ADF_C62XIOV_MAX_ACCELENGINES 1
|
|
#define ADF_C62XIOV_RX_RINGS_OFFSET 8
|
|
#define ADF_C62XIOV_TX_RINGS_MASK 0xFF
|
|
#define ADF_C62XIOV_ETR_BAR 0
|
|
#define ADF_C62XIOV_ETR_MAX_BANKS 1
|
|
|
|
void adf_init_hw_data_c62xiov(struct adf_hw_device_data *hw_data);
|
|
void adf_clean_hw_data_c62xiov(struct adf_hw_device_data *hw_data);
|
|
#endif
|