[PATCH 4.14 118/122] mlxsw: spectrum_switchdev: Check notification relevance based on upper device