[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1426892406.32382.11.camel@decadent.org.uk>
Date: Fri, 20 Mar 2015 23:00:06 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: Petri Gynther <pgynther@...gle.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, f.fainelli@...il.com,
jaedon.shin@...il.com
Subject: Re: [PATCH net-next] net: bcmgenet: add support for Hardware Filter
Block
On Fri, 2015-03-13 at 14:45 -0700, Petri Gynther wrote:
> Add support for Hardware Filter Block (HFB) so that incoming Rx traffic
> can be matched and directed to desired Rx queues.
[...]
> --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
> +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
[...]
> + * To add the filter to HFB and direct the traffic to Rx queue 0, call:
> + * bcmgenet_hfb_add_filter(priv, hfb_filter_ipv4_udp,
> + * ARRAY_SIZE(hfb_filter_ipv4_udp), 0);
> + */
> +int bcmgenet_hfb_add_filter(struct bcmgenet_priv *priv, u32 *f_data,
> + u32 f_length, u32 rx_queue)
[...]
But nothing calls it. Are you intending to implement ethtool rxnfc ops?
Ben.
--
Ben Hutchings
All extremists should be taken out and shot.
Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)
Powered by blists - more mailing lists