if_epair: fix build with RSS
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
d3890a547d
commit
8a299958c1
@ -185,11 +185,12 @@ epair_tx_start_deferred(void *arg, int pending)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct epair_queue *
|
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;
|
uint32_t bucket;
|
||||||
#ifdef RSS
|
#ifdef RSS
|
||||||
struct ether_header *eh;
|
struct ether_header *eh;
|
||||||
|
int ret;
|
||||||
|
|
||||||
ret = rss_m2bucket(m, &bucket);
|
ret = rss_m2bucket(m, &bucket);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
Loading…
Reference in New Issue
Block a user