net/ice/base: fix memory handling
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 8 Jan 2021 04:03:52 +0000 (12:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 18:03:08 +0000 (19:03 +0100)
commit964bafcf5e75cddfbd8bc49485922b01fc491182
tree25b472c0aef6e505d5601444c46160f1ccac4475
parentb3d554edfeb9bfdad129c2646105515d5504ab72
net/ice/base: fix memory handling

Fixed memory handling when memory allocated in user space was handled
as memory allocated in kernel space within QV os_dep implementation
of the ice_memdup function.

Fixes: 93e84b1bfc92 ("net/ice/base: add basic Tx scheduler")
Cc: stable@dpdk.org
Signed-off-by: Andrii Pypchenko <andrii.pypchenko@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_sched.c