Home
last modified time | relevance | path

Searched hist:"8 d1fb01df8f64af14c833805dcbd05bf4582e028" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A DKconfigdiff 8d1fb01df8f64af14c833805dcbd05bf4582e028 Mon Feb 06 17:26:30 CET 2017 Arnd Bergmann <arnd@arndb.de> mlxsw: add psample dependency for spectrum

When PSAMPLE is a loadable module, spectrum must not be built-in:

drivers/net/built-in.o: In function `mlxsw_sp_rx_listener_sample_func':
spectrum.c:(.text+0xe357e): undefined reference to `psample_sample_packet'

This adds a Kconfig dependency to enforce usable configurations.

Fixes: 98d0f7b9acda ("mlxsw: spectrum: Add packet sample offloading support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Yotam Gigi <yotamg@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>