net/enic: suppress unwanted error messages
authorHyong Youb Kim <hyonkim@cisco.com>
Thu, 31 Oct 2019 05:36:23 +0000 (22:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commit7e6be797196b1fe7a135e985194c60e3f160b947
tree87de0b954c7a9eacbce39395666f708133553d54
parente015fca097484be6d2616d1e9d5aae89b0937ce8
net/enic: suppress unwanted error messages

Do not log errors when CMD_OVERLAY_OFFLOAD_CTRL and
CMD_GET_SUPP_FEATURE_VER fail, as they are only used to probe if a
feature is provisioned. They are expected to fail if the feature is
not provisioned.

Do not log an error when disabling Geneve offload fails. It is
expected to fail if this feature is provisioned but not enabled.

Fixes: c02a96fc4aec ("net/enic: enable GENEVE with options offload")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/base/vnic_dev.c
drivers/net/enic/enic_main.c