/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _HPI_PFC_H
#define _HPI_PFC_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#include <hpi.h>
#include <hxge_common.h>
#include <hxge_pfc_hw.h>
#include <hxge_pfc.h>
typedef enum _tcam_op {
} tcam_op_t;
/*
* HPI PFC ERROR Codes
*/
#define HPI_PFC_TCAM_WR_ERROR \
#define HPI_PFC_ASC_RAM_RD_ERROR \
#define HPI_PFC_ASC_RAM_WR_ERROR \
#define TCAM_CLASS_INVALID \
(HPI_PFC_SW_PARAM_ERROR | 0xb)
/* have only 0xc, 0xd, 0xe and 0xf left for sw error codes */
#define HPI_PFC_TCAM_HW_ERROR \
/*
* PFC Control Register Functions
*/
/*
* PFC vlan Functions
*/
/*
* PFC Mac Address Functions
*/
uint64_t);
/*
* PFC L2 and L3 Config Functions.
*/
/*
* PFC TCAM Functions
*/
pfc_auto_init_t *);
/*
* PFC TCP Control
*/
/*
* PFC Hash Seed Value
*/
/*
* PFC Interrupt Management Functions
*/
/*
* PFC Packet Logs
*/
int slot);
#ifdef __cplusplus
}
#endif
#endif /* !_HPI_PFC_H */