[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101217.210923.193721885.davem@davemloft.net>
Date: Fri, 17 Dec 2010 21:09:23 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: alexander.h.duyck@...el.com
Cc: netdev@...r.kernel.org
Subject: Re: [RFC PATCH 3/3] igb: example of how to update igb to make use
of in-kernel Toeplitz hashing
From: Alexander Duyck <alexander.h.duyck@...el.com>
Date: Fri, 17 Dec 2010 17:00:48 -0800
> @@ -1691,6 +1692,7 @@ static const struct net_device_ops igb_netdev_ops = {
> .ndo_open = igb_open,
> .ndo_stop = igb_close,
> .ndo_start_xmit = igb_xmit_frame_adv,
> + .ndo_select_queue = toeplitz_select_queue,
> .ndo_get_stats64 = igb_get_stats64,
> .ndo_set_rx_mode = igb_set_rx_mode,
> .ndo_set_multicast_list = igb_set_rx_mode,
Adding a NETIF_F_TX_TOEPLITZ flag that skb_tx_hash() keys off of would
be a lot simpler.
We want less overriding of ->ndo_select_queue(), not more, and this case
is definitely gratuitous.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists