PATCH RFC v1] ethtool: implement helper to get flow_type value
>
> From: Jacob Keller
> Date: Tue, 22 Nov 2016 15:44:53 -0800
>
> > @@ -880,6 +880,14 @@ struct ethtool_rx_flow_spec {
> > __u32 location;
> > };
> >
> > +/* Flag to enable a
From: Jacob Keller
Date: Tue, 22 Nov 2016 15:44:53 -0800
> @@ -880,6 +880,14 @@ struct ethtool_rx_flow_spec {
> __u32 location;
> };
>
> +/* Flag to enable additional fields in struct ethtool_rx_flow_spec */
> +#define FLOW_EXT0x8000
> +#define FLOW_MAC_EX
Often a driver wants to store the flow type and thus it must mask the
extra fields. This is a task that could grow more complex as more flags
are added in the future. Add a helper function that masks the flags for
marking additional fields.
Modify drivers in drivers/net/ethernet that currently che