xref: /linux/drivers/net/ethernet/sfc/mcdi_pcol_mae.h (revision 9f2c9170934eace462499ba0bfe042cc72900173)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /****************************************************************************
3  * Driver for Solarflare network controllers and boards
4  * Copyright 2019 Solarflare Communications Inc.
5  * Copyright 2019-2022 Xilinx, Inc.
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License version 2 as published
9  * by the Free Software Foundation, incorporated herein by reference.
10  */
11 
12 #ifndef MCDI_PCOL_MAE_H
13 #define MCDI_PCOL_MAE_H
14 /* MCDI definitions for Match-Action Engine functionality, that are
15  * missing from the main mcdi_pcol.h
16  */
17 
18 /* MC_CMD_MAE_COUNTER_LIST_ALLOC is not (yet) a released API, but the
19  * following value is needed as an argument to MC_CMD_MAE_ACTION_SET_ALLOC.
20  */
21 /* enum: A counter ID that is guaranteed never to represent a real counter */
22 #define          MC_CMD_MAE_COUNTER_LIST_ALLOC_OUT_COUNTER_LIST_ID_NULL 0xffffffff
23 
24 #endif /* MCDI_PCOL_MAE_H */
25