]> git.droids-corp.org - dpdk.git/commit
net/sfc: do not allow flow rules to refer to VF representors
authorIvan Malov <ivan.malov@oktetlabs.ru>
Mon, 25 Oct 2021 11:04:09 +0000 (14:04 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 2 Nov 2021 18:26:13 +0000 (19:26 +0100)
commitb7b7b9f80090703eadc95cfd7ac58e1f3cddc5a9
tree5c4402dd2063e7b0f060ccb475cd37959b9dc30c
parentec4e11d41d129ebc7c395b567827492e56fb08b7
net/sfc: do not allow flow rules to refer to VF representors

VF representors do not own dedicated m-ports and thus cannot
be referred to as traffic endpoints in flow items or actions.

Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure")
Fixes: f55b61cec94a ("net/sfc: support port representor flow item")
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/net/sfc/sfc_switch.c