Soak porcini mushrooms in 1/4 litre water for about 20 minutes. Clean and wash broccoli, cut off florets and cook in boiling salted water for about 15 minutes. Peel and finely dice onion. Cut ham into cubes. Cook pasta in boiling salted water for about 5 minutes. Drain broccoli well on a sieve. Drain mushrooms well on a sieve and collect the mushroom water.
Heat the oil in a frying pan, fry the onions and ham in it while turning. Add broccoli florets and porcini mushrooms. Melt the fat in a pan, dust with flour, sauté, deglaze with the mushroom water and broth, bring to the boil while stirring and season with salt and pepper. Stir the mascarpone into the sauce. Mix pasta, broccoli, ham, onions and sauce and arrange on a plate. Serve garnished with marjoram as desired