diff --git a/sys/dev/sfxge/sfxge_intr.c b/sys/dev/sfxge/sfxge_intr.c index 1b58e38ef6cd..821aa3f0edaf 100644 --- a/sys/dev/sfxge/sfxge_intr.c +++ b/sys/dev/sfxge/sfxge_intr.c @@ -34,6 +34,8 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_rss.h" + #include #include #include @@ -49,6 +51,10 @@ __FBSDID("$FreeBSD$"); #include #include +#ifdef RSS +#include +#endif + #include "common/efx.h" #include "sfxge.h" @@ -192,7 +198,12 @@ sfxge_intr_bus_enable(struct sfxge_softc *sc) bus_describe_intr(sc->dev, table[index].eih_res, table[index].eih_tag, "%d", index); #endif +#ifdef RSS + bus_bind_intr(sc->dev, table[index].eih_res, + rss_getcpu(index)); +#else bus_bind_intr(sc->dev, table[index].eih_res, index); +#endif }