net/enic: enable flow API for VF representor
authorHyong Youb Kim <hyonkim@cisco.com>
Wed, 9 Sep 2020 13:56:56 +0000 (06:56 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 21 Sep 2020 16:05:38 +0000 (18:05 +0200)
commita93cf169267b5194260a129b2545c8c60b17f407
treeadb363b6f5195b6a525d4f8490264ec17f9c496a
parent859540e719668fe935f553eedd1114c5a6ce1ba6
net/enic: enable flow API for VF representor

Use Flow Manager (flowman) to support flow API for
representors. Representor's flow handlers simply invoke PF handlers
and pass the representor's flowman structure. The PF flowman handlers
are aware of representors and perform appropriate devcmds to create
flows on the NIC.

Also use flowman to create internal flows for implicit VF-representor
path. With that, representor Tx/Rx is now functional.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
doc/guides/rel_notes/release_20_11.rst
drivers/net/enic/enic_vf_representor.c