Vishal Kulkarni d0a84e1f38 ethtool: allow flow-type ether without IP protocol field
Set IP protocol mask only when IP protocol field is set.
This will allow flow-type ether with vlan rule which don't have
protocol field to apply.

ethtool -N ens5f4 flow-type ether proto 0x8100 vlan 0x600\
m 0x1FFF action 3 loc 16

Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-20 16:26:03 -07:00
..
2020-07-10 13:54:00 -07:00
2020-07-10 13:54:00 -07:00
2020-03-29 22:32:36 -07:00
2020-06-29 17:45:02 -07:00
2020-07-10 13:54:00 -07:00
2020-07-10 13:54:00 -07:00
2020-03-29 22:32:36 -07:00
2020-07-10 13:54:00 -07:00