xref: /linux/drivers/net/ethernet/sfc/mae.h (revision 409c188c57cdb5cb1dfcac79e72b5169f0463fe4)
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 2020-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 EF100_MAE_H
13 #define EF100_MAE_H
14 /* MCDI interface for the ef100 Match-Action Engine */
15 
16 #include "net_driver.h"
17 
18 void efx_mae_mport_vf(struct efx_nic *efx, u32 vf_id, u32 *out);
19 
20 int efx_mae_lookup_mport(struct efx_nic *efx, u32 selector, u32 *id);
21 
22 #endif /* EF100_MAE_H */
23