if_epair: fix build with RSS

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost 2022-10-03 17:02:55 +02:00
parent d3890a547d
commit 8a299958c1

View File

@ -185,11 +185,12 @@ epair_tx_start_deferred(void *arg, int pending)
}
static struct epair_queue *
epair_select_queue(struct epair_softc *sc, const struct mbuf *m)
epair_select_queue(struct epair_softc *sc, struct mbuf *m)
{
uint32_t bucket;
#ifdef RSS
struct ether_header *eh;
int ret;
ret = rss_m2bucket(m, &bucket);
if (ret) {