doc: add deprecation notice for iavf devarg auto reconfig
PATCH 1/1 doc: add deprecation notice for iavf devarg auto reconfig
The auto_reconfig devarg in the iavf driver is enabled by default and the case for ever disabling it is weak. When disabled, it means the user is requesting the driver not to restore settings (unicast/multicast promiscuous modes) when recovering from a reset. The use case where this might be desired is during a VF initiated reset where the user initiates the reset and wants the VF brought back up in an untouched state. That scenario can be facilitated by extending the rte_pmd_iavf_reinit API rather than relying on this devarg, so it should be safe to remove the devarg.
--- doc/guides/rel_notes/deprecation.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
doc/guides/rel_notes/deprecation.rst +9 -0
@@ -159,3 +159,12 @@ Deprecation Notices * net/iavf: The dynamic mbuf field used to detect LLDP packets on the transmit path in the iavf PMD will be removed in a future release. After removal, only packet type-based detection will be supported. + +* net/iavf: The ``auto_reconfig`` devarg is deprecated and will be removed + in a future release. It allows disabling the automatic restoration of + device settings after a VF reset, but this is of questionable value + since most applications expect their settings to be preserved + transparently across a reset. The only use case for this devarg is + arguably a VF initiated reset; however this functionality could be + supported by extending the ``rte_pmd_iavf_reinit`` API instead of + relying on a devarg.
Signature · 1 line
2.43.0
Quoted 23 lines · Ciara Loftus
The
auto_reconfigdevarg in the iavf driver is enabled by default and the case for ever disabling it is weak. When disabled, it means the user is requesting the driver not to restore settings (unicast/multicast promiscuous modes) when recovering from a reset. The use case where this might be desired is during a VF initiated reset where the user initiates the reset and wants the VF brought back up in an untouched state. That scenario can be facilitated by extending therte_pmd_iavf_reinitAPI rather than relying on this devarg, so it should be safe to remove the devarg.Signed-off-by Ciara Loftus <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 9 +++++++++ 1 file changed, 9 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -159,3 +159,12 @@ Deprecation Notices * net/iavf: The dynamic mbuf field used to detect LLDP packets on the transmit path in the iavf PMD will be removed in a future release.
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 170
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +9
-0After removal, only packet type-based detection will be supported. + +* net/iavf: The ``auto_reconfig`` devarg is deprecated and will be removed + in a future release. It allows disabling the automatic restoration of + device settings after a VF reset, but this is of questionable value + since most applications expect their settings to be preserved + transparently across a reset. The only use case for this devarg is + arguably a VF initiated reset; however this functionality could be + supported by extending the ``rte_pmd_iavf_reinit`` API instead of + relying on a devarg.
I think the text might be slightly too long for a deprecation notice, so I'd tend toward removing the description of the possible API change, since you only talk about how it "could" be done, rather than how it "will" be done. The first two sentences should be enough on their own.
PATCH v2 1/1 doc: add deprecation notice for iavf devarg auto reconfig
In reply to Ciara LoftusThe auto_reconfig devarg in the iavf driver is enabled by default and the case for ever disabling it is weak. When disabled, it means the user is requesting the driver not to restore settings (unicast/multicast promiscuous modes) when recovering from a reset. The use case where this might be desired is during a VF initiated reset where the user initiates the reset and wants the VF brought back up in an untouched state. That scenario can be facilitated by extending the rte_pmd_iavf_reinit API rather than relying on this devarg, so it should be safe to remove the devarg.
---
v2:
* Shortened deprecation note
--- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +6 -0
@@ -159,3 +159,9 @@ Deprecation Notices * net/iavf: The dynamic mbuf field used to detect LLDP packets on the transmit path in the iavf PMD will be removed in a future release. After removal, only packet type-based detection will be supported. + +* net/iavf: The ``auto_reconfig`` devarg is deprecated and will be removed + in a future release. It allows disabling the automatic restoration of + device settings after a VF reset, but this is of questionable value + since most applications expect their settings to be preserved + transparently across a reset.
Signature · 1 line
2.43.0
Quoted 33 lines · Ciara Loftus
The
auto_reconfigdevarg in the iavf driver is enabled by default and the case for ever disabling it is weak. When disabled, it means the user is requesting the driver not to restore settings (unicast/multicast promiscuous modes) when recovering from a reset. The use case where this might be desired is during a VF initiated reset where the user initiates the reset and wants the VF brought back up in an untouched state. That scenario can be facilitated by extending therte_pmd_iavf_reinitAPI rather than relying on this devarg, so it should be safe to remove the devarg.Signed-off-by Ciara Loftus <[email protected]>Acked-by Bruce Richardson <[email protected]>---
v2:
* Shortened deprecation note--- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+)doc/guides/rel_notes/deprecation.rst +6
-0@@ -159,3 +159,9 @@ Deprecation Notices * net/iavf: The dynamic mbuf field used to detect LLDP packets on the transmit path in the iavf PMD will be removed in a future release. After removal, only packet type-based detection will be supported. + +* net/iavf: The ``auto_reconfig`` devarg is deprecated and will be removed + in a future release. It allows disabling the automatic restoration of + device settings after a VF reset, but this is of questionable value + since most applications expect their settings to be preserved + transparently across a reset.
Signature · 2 lines
Regards, Vladimir
Quoted 10 lines
Quoted 10 lines
The
auto_reconfigdevarg in the iavf driver is enabled by default and the case for ever disabling it is weak. When disabled, it means the user is requesting the driver not to restore settings (unicast/multicast promiscuous modes) when recovering from a reset. The use case where this might be desired is during a VF initiated reset where the user initiates the reset and wants the VF brought back up in an untouched state. That scenario can be facilitated by extending therte_pmd_iavf_reinitAPI rather than relying on this devarg, so it should be safe to remove the devarg.
Quoted 3 lines
Quoted 2 lines
Signed-off-by Ciara Loftus <[email protected]>Acked-by Bruce Richardson <[email protected]>
Applied, thanks.
Quoted 11 lines · Ciara Loftus
The
auto_reconfigdevarg in the iavf driver is enabled by default and the case for ever disabling it is weak. When disabled, it means the user is requesting the driver not to restore settings (unicast/multicast promiscuous modes) when recovering from a reset. The use case where this might be desired is during a VF initiated reset where the user initiates the reset and wants the VF brought back up in an untouched state. That scenario can be facilitated by extending therte_pmd_iavf_reinitAPI rather than relying on this devarg, so it should be safe to remove the devarg.
Quoted 2 lines
Signed-off-by Ciara Loftus <[email protected]>Acked-by Bruce Richardson <[email protected]>
Signature · 1 line
David Marchand