net/ice: add safe mode devarg
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 10 Jul 2019 04:16:30 +0000 (12:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:34 +0000 (14:31 +0200)
commit603beeb970b5d87fa740fb66c25de6e5dbd0aaf1
tree7ab4b30703f48bd7688891c42193023e5a54868b
parente732b7f5393f4b8225ab460c58dafb858a38a52c
net/ice: add safe mode devarg

When OS package is not provided driver silently goes into safe mode,
since safe mode is missing most of advanced features, this may confuse
the users.

Instead of going into safe mode silently, add devarg for safe mode
enabling only for users that are asking for it.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Ray Kinsella <ray.kinsella@intel.com>
doc/guides/nics/ice.rst
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h