nfp: check if application firmware is indifferent to port speed
authorYinjun Zhang <yinjun.zhang@corigine.com>
Thu, 25 Aug 2022 14:12:22 +0000 (16:12 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Aug 2022 09:28:15 +0000 (11:28 +0200)
commit2b88354d37ca672dc8c467f8c9d14aaa18df78d4
tree7d3395a0f2c19d9d2a38450e506bbfcb3d3a0d82
parent62fad9e6104ceff28feabb1a34765abcec43564a
nfp: check if application firmware is indifferent to port speed

A new tlv type is introduced to indicate if application firmware is
indifferent to port speed, and inform management firmware of the
result.

And the result is always true for flower application firmware since
it's indifferent to port speed from the start and will never change.

Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/netronome/nfp/nfp_main.h
drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c
drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h
drivers/net/ethernet/netronome/nfp/nfp_net_main.c