caamalg_qi2.h (6ed01097f4378199614fe625495657af7c601cea) | caamalg_qi2.h (1c0ab408bb6e16285fcddc9b4ce74507081d053f) |
---|---|
1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2/* 3 * Copyright 2015-2016 Freescale Semiconductor Inc. 4 * Copyright 2017-2018 NXP 5 */ 6 7#ifndef _CAAMALG_QI2_H_ 8#define _CAAMALG_QI2_H_ 9 10#include <soc/fsl/dpaa2-io.h> 11#include <soc/fsl/dpaa2-fd.h> 12#include <linux/threads.h> | 1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2/* 3 * Copyright 2015-2016 Freescale Semiconductor Inc. 4 * Copyright 2017-2018 NXP 5 */ 6 7#ifndef _CAAMALG_QI2_H_ 8#define _CAAMALG_QI2_H_ 9 10#include <soc/fsl/dpaa2-io.h> 11#include <soc/fsl/dpaa2-fd.h> 12#include <linux/threads.h> |
13#include <linux/netdevice.h> |
|
13#include "dpseci.h" 14#include "desc_constr.h" 15 16#define DPAA2_CAAM_STORE_SIZE 16 17/* NAPI weight *must* be a multiple of the store size. */ 18#define DPAA2_CAAM_NAPI_WEIGHT 512 19 20/* The congestion entrance threshold was chosen so that on LS2088 --- 38 unchanged lines hidden (view full) --- 59 void *cscn_mem_aligned; 60 dma_addr_t cscn_dma; 61 62 struct device *dev; 63 struct fsl_mc_io *mc_io; 64 struct iommu_domain *domain; 65 66 struct dpaa2_caam_priv_per_cpu __percpu *ppriv; | 14#include "dpseci.h" 15#include "desc_constr.h" 16 17#define DPAA2_CAAM_STORE_SIZE 16 18/* NAPI weight *must* be a multiple of the store size. */ 19#define DPAA2_CAAM_NAPI_WEIGHT 512 20 21/* The congestion entrance threshold was chosen so that on LS2088 --- 38 unchanged lines hidden (view full) --- 60 void *cscn_mem_aligned; 61 dma_addr_t cscn_dma; 62 63 struct device *dev; 64 struct fsl_mc_io *mc_io; 65 struct iommu_domain *domain; 66 67 struct dpaa2_caam_priv_per_cpu __percpu *ppriv; |
68 struct dentry *dfs_root; |
|
67}; 68 69/** 70 * dpaa2_caam_priv_per_cpu - per CPU private data 71 * @napi: napi structure 72 * @net_dev: netdev used by napi 73 * @req_fqid: (virtual) request (Tx / enqueue) FQID 74 * @rsp_fqid: (virtual) response (Rx / dequeue) FQID --- 149 unchanged lines hidden --- | 69}; 70 71/** 72 * dpaa2_caam_priv_per_cpu - per CPU private data 73 * @napi: napi structure 74 * @net_dev: netdev used by napi 75 * @req_fqid: (virtual) request (Tx / enqueue) FQID 76 * @rsp_fqid: (virtual) response (Rx / dequeue) FQID --- 149 unchanged lines hidden --- |