net/bnxt: fix filter type for non-ntuple flows
authorRahul Gupta <rahul.gupta@broadcom.com>
Thu, 24 Oct 2019 07:44:24 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:22 +0000 (19:23 +0200)
commit24de0b605cfa341d23308b7e660a66f1b9c1643b
tree0c98bbba947ec30cbcc5eb6004660646e3d8275a
parenta73b8e939f105eef6da876ccecf6a1a14f1f52e9
net/bnxt: fix filter type for non-ntuple flows

Use HWRM_CFA_L2_FILTER filter_type, as its checked during SRC MAC
filter creation in bnxt_create_l2_filter().

Fixes: afef822b2e1b ("net/bnxt: support creating SMAC and inner DMAC filters")

Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_flow.c