net/i40e: fix flow director MAC rule creation
authorShougang Wang <shougangx.wang@intel.com>
Wed, 13 May 2020 02:54:50 +0000 (02:54 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:56 +0000 (20:35 +0200)
commit103e2c02260cc072f73c93d667a66864e330919d
treed26c1350127bc182b180ef34a1c5c93ece7734a0
parent861ca8b1e97c68727cbafbb859cc6c2ff017801e
net/i40e: fix flow director MAC rule creation

This patch fixes the issue that the flow which both source MAC mask
and destination MAC mask are all zeros can not be created.

Fixes: ea0c22fd8227 ("net/i40e: enable MAC address as flow director input set")

Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Tested-by: Hailin Xu <hailinx.xu@intel.com>
Reviewed-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_flow.c