[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170628185340.1ea53cd1@cakuba.netronome.com>
Date: Wed, 28 Jun 2017 18:53:40 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Simon Horman <simon.horman@...ronome.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
oss-drivers@...ronome.com,
Pieter Jansen van Vuuren
<pieter.jansenvanvuuren@...ronome.com>
Subject: Re: [PATCH net-next v2 3/9] nfp: provide infrastructure for
offloading flower based TC filters
On Wed, 28 Jun 2017 22:29:56 +0200, Simon Horman wrote:
> +/**
> + * nfp_flower_del_offload() - Removes a flow from hardware.
> + * @app: Pointer to the APP handle
> + * @netdev: netdev structure.
> + * @flow: TC flower classifier offload structure
Nit: there are spaces and tabs mixed here, same for
nfp_flower_get_stats().
> + *
> + * Removes a flow from the repeated hash structure and clears the
> + * action payload.
> + *
> + * Return: negative value on error, 0 if removed successfully.
> + */
> +static int
> +nfp_flower_del_offload(struct nfp_app *app, struct net_device *netdev,
> + struct tc_cls_flower_offload *flow)
> +{
> + return -EOPNOTSUPP;
> +}
Powered by blists - more mailing lists