Re: [PATCH net-next v2] net: ethtool: Allow parsing ETHER_FLOW types when using flow_rule

From: David Miller
Date: Thu Jun 27 2019 - 12:39:27 EST


From: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
Date: Thu, 27 Jun 2019 10:52:26 +0200

> When parsing an ethtool_rx_flow_spec, users can specify an ethernet flow
> which could contain matches based on the ethernet header, such as the
> MAC address, the VLAN tag or the ethertype.
>
> ETHER_FLOW uses the src and dst ethernet addresses, along with the
> ethertype as keys. Matches based on the vlan tag are also possible, but
> they are specified using the special FLOW_EXT flag.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
> ---
> V2 : Add src and dst mac address parsing, as suggested by Pablo.

Applied, thanks.