|
@@ -357,8 +357,11 @@ static void gfar_init_mac(struct net_device *ndev)
|
|
|
/* Configure the coalescing support */
|
|
|
gfar_configure_coalescing(priv, 0xFF, 0xFF);
|
|
|
|
|
|
- if (priv->rx_filer_enable)
|
|
|
+ if (priv->rx_filer_enable) {
|
|
|
rctrl |= RCTRL_FILREN;
|
|
|
+ /* Program the RIR0 reg with the required distribution */
|
|
|
+ gfar_write(®s->rir0, DEFAULT_RIR0);
|
|
|
+ }
|
|
|
|
|
|
if (priv->rx_csum_enable)
|
|
|
rctrl |= RCTRL_CHECKSUMMING;
|
|
@@ -1022,6 +1025,9 @@ static int gfar_probe(struct of_device *ofdev,
|
|
|
priv->rx_queue[i]->rxic = DEFAULT_RXIC;
|
|
|
}
|
|
|
|
|
|
+ /* enable filer if using multiple RX queues*/
|
|
|
+ if(priv->num_rx_queues > 1)
|
|
|
+ priv->rx_filer_enable = 1;
|
|
|
/* Enable most messages by default */
|
|
|
priv->msg_enable = (NETIF_MSG_IFUP << 1 ) - 1;
|
|
|
|