net/dpaa2: skip resetting dpdmux
authorApeksha Gupta <apeksha.gupta@nxp.com>
Wed, 24 Feb 2021 12:42:59 +0000 (18:12 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 24 Feb 2021 17:03:30 +0000 (18:03 +0100)
commit914450bace0a5e825576158bbcdcaa865fd33bf4
tree50d960ba5ae7dc10109aeb74bceaf89c3faf459d
parente5e9ef729c8815e6eb0afbece4cc67e6500e7477
net/dpaa2: skip resetting dpdmux

This is require as the interface is shared with Linux and we do not want
the dpdmux to be reset. Rather the default interface to kernel shall
continue.
command dpdmux_set_resetable is used to skip DPDMUX reset.

By default the DPDMUX_RESET command will reset the DPDMUX completely,
dpdmux_set_resetable command will be ignored in old MC firmware.

Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_mux.c
drivers/net/dpaa2/mc/dpdmux.c
drivers/net/dpaa2/mc/fsl_dpdmux.h
drivers/net/dpaa2/mc/fsl_dpdmux_cmd.h