nfp: warn on experimental TLV types
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 26 Sep 2018 22:35:31 +0000 (15:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 05:49:30 +0000 (22:49 -0700)
commit97ea8ac360c233e6454bfe6510e7b827a57008af
tree9a36ede5e107787e8330388e6893b8ecd0d70365
parentea43a5907f6668ca4e698f7b5c341014c9bb0be6
nfp: warn on experimental TLV types

Reserve two TLV types for feature development, and warn in the driver
if they ever leak into production.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c
drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h