Revert "devlink: Add a generic wake_on_lan port parameter"

This reverts commit b639583f9e.

As per discussion with Jakub Kicinski and Michal Kubecek,
this will be better addressed by soon-too-come ethtool netlink
API with additional indication that given configuration request
is supposed to be persisted.

Also, remove the parameter support from bnxt_en driver.

Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Cc: Michal Kubecek <mkubecek@suse.cz>
Suggested-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Vasundhara Volam
2019-02-11 14:46:17 +05:30
committed by David S. Miller
parent 5e9c51b301
commit da203dfa89
4 changed files with 1 additions and 32 deletions

View File

@@ -2701,11 +2701,6 @@ static const struct devlink_param devlink_param_generic[] = {
.name = DEVLINK_PARAM_GENERIC_FW_LOAD_POLICY_NAME,
.type = DEVLINK_PARAM_GENERIC_FW_LOAD_POLICY_TYPE,
},
{
.id = DEVLINK_PARAM_GENERIC_ID_WOL,
.name = DEVLINK_PARAM_GENERIC_WOL_NAME,
.type = DEVLINK_PARAM_GENERIC_WOL_TYPE,
},
};
static int devlink_param_generic_verify(const struct devlink_param *param)