net/mvpp2: add init and deinit to flow
authorTomasz Duszynski <tdu@semihalf.com>
Tue, 25 Sep 2018 07:05:01 +0000 (09:05 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:03 +0000 (01:41 +0200)
commita1f83becf9362fe9196baabf5926ea09056516ec
treec4e7e053aaadbbb90cef1f7da6659aa57fec9f86
parente97d88740a5efdd81dd3382453e80ad16bcaa63f
net/mvpp2: add init and deinit to flow

Add init and deinit functionality to flow implementation.

Init puts structures used by flow in a sane sate.
Deinit deallocates all resources used by flow.

Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
Signed-off-by: Natalie Samsonov <nsamsono@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
Reviewed-by: Shlomi Gridish <sgridish@marvell.com>
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_flow.c
drivers/net/mvpp2/mrvl_flow.h [new file with mode: 0644]