]> git.droids-corp.org - dpdk.git/commit
net/dpaa2: fix dpdmux default interface
authorTianli Lai <laitianli@tom.com>
Tue, 29 Mar 2022 22:01:07 +0000 (06:01 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 14 Apr 2022 08:01:11 +0000 (10:01 +0200)
commit0b5da8cc52b3b4be9046ef1eabe2381d5566a8f8
tree523335f0bf873566f794940e408697fda0a1d406
parentb05e39e0b2901fc2f9efc3f72b429e2b5fc4d6c8
net/dpaa2: fix dpdmux default interface

if dpdmux objects created by restool tools with
the argument "--default-if=<if-id-number>", this
function would change it to 1

Fixes: 1def64c2d79e ("net/dpaa2: add dpdmux initialization and configuration")
Cc: stable@dpdk.org
Signed-off-by: Tianli Lai <laitianli@tom.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_mux.c