mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
0a9798c123
Since commit f6b19b354d
("net: devlink: select NET_DEVLINK
from drivers") adds implicit select of NET_DEVLINK for
mlxsw, the code does not have to deal with the case
when CONFIG_NET_DEVLINK is not enabled. So remove the ifcase
and adjust Makefile.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
532 B
C
16 lines
532 B
C
/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
|
|
/* Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved */
|
|
|
|
#ifndef _MLXSW_PIPELINE_H_
|
|
#define _MLXSW_PIPELINE_H_
|
|
|
|
int mlxsw_sp_dpipe_init(struct mlxsw_sp *mlxsw_sp);
|
|
void mlxsw_sp_dpipe_fini(struct mlxsw_sp *mlxsw_sp);
|
|
|
|
#define MLXSW_SP_DPIPE_TABLE_NAME_ERIF "mlxsw_erif"
|
|
#define MLXSW_SP_DPIPE_TABLE_NAME_HOST4 "mlxsw_host4"
|
|
#define MLXSW_SP_DPIPE_TABLE_NAME_HOST6 "mlxsw_host6"
|
|
#define MLXSW_SP_DPIPE_TABLE_NAME_ADJ "mlxsw_adj"
|
|
|
|
#endif /* _MLXSW_PIPELINE_H_*/
|