X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fqede%2Fbase%2Fecore_init_ops.h;h=0cbf293b341ca62c869b231950cc6f65116e2e28;hb=23bdcedcd8caa0d268b615df3bdb08411f97856e;hp=f6b0a2d2e51af145faf3f4b0998b7d404b7a2f0b;hpb=9455b556b7f30bd65903b38c0f3ed1360e2a34be;p=dpdk.git diff --git a/drivers/net/qede/base/ecore_init_ops.h b/drivers/net/qede/base/ecore_init_ops.h index f6b0a2d2e5..0cbf293b34 100644 --- a/drivers/net/qede/base/ecore_init_ops.h +++ b/drivers/net/qede/base/ecore_init_ops.h @@ -1,9 +1,7 @@ -/* - * Copyright (c) 2016 QLogic Corporation. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (c) 2016 - 2018 Cavium Inc. * All rights reserved. - * www.qlogic.com - * - * See LICENSE.qede_pmd for copyright and licensing details. + * www.cavium.com */ #ifndef __ECORE_INIT_OPS__ @@ -32,7 +30,9 @@ void ecore_init_iro_array(struct ecore_dev *p_dev); */ enum _ecore_status_t ecore_init_run(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, - int phase, int phase_id, int modes); + int phase, + int phase_id, + int modes); /** * @brief ecore_init_hwfn_allocate - Allocate RT array, Store 'values' ptrs. @@ -52,6 +52,7 @@ enum _ecore_status_t ecore_init_alloc(struct ecore_hwfn *p_hwfn); */ void ecore_init_free(struct ecore_hwfn *p_hwfn); + /** * @brief ecore_init_clear_rt_data - Clears the runtime init array. * @@ -94,14 +95,6 @@ void ecore_init_store_rt_agg(struct ecore_hwfn *p_hwfn, osal_size_t size); #define STORE_RT_REG_AGG(hwfn, offset, val) \ - ecore_init_store_rt_agg(hwfn, offset, (u32 *)&val, sizeof(val)) + ecore_init_store_rt_agg(hwfn, offset, (u32 *)&(val), sizeof(val)) -/** - * @brief - * Initialize GTT global windows and set admin window - * related params of GTT/PTT to default values. - * - * @param p_hwfn - */ -void ecore_gtt_init(struct ecore_hwfn *p_hwfn); #endif /* __ECORE_INIT_OPS__ */