virtio-net: Rename selectors_limit to classifiers_limit
PATCH 1/1 virtio-net: Rename selectors_limit to classifiers_limit
A classifier object consists of one or more selectors. The number of selectors per classifier object is already annotated in the field selectors_per_classifier_limit.
The field selectors_limit is intended to reflect the limit of classifier objects. Hence, rename it to classifiers_limit.
Fixes 3b7b7371dbed ("virtio-net: Add flow filter device and driver requirements")
Fixes 899bb0ca24d8 ("virtio-net: Add flow filter capability")
Signed-off-by Parav Pandit <[email protected]>
--- device-types/net/description.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
device-types/net/description.tex +3 -3
@@ -2957,7 +2957,7 @@ \subsubsection{Flow filter}\label{sec:Device Types / Network Device / Device Ope \begin{lstlisting} struct virtio_net_ff_cap_data { le32 groups_limit; - le32 selectors_limit; + le32 classifiers_limit; le32 rules_limit; le32 rules_per_group_limit; u8 last_rule_priority;
@@ -2965,7 +2965,7 @@ \subsubsection{Flow filter}\label{sec:Device Types / Network Device / Device Ope }; \end{lstlisting} -\field{groups_limit}, and \field{selectors_limit} represent the maximum +\field{groups_limit}, and \field{classifiers_limit} represent the maximum number of flow filter groups and selectors, respectively, that the driver can create. \field{rules_limit} is the maximum number of flow fiilter rules that the driver can create across all the groups.
@@ -3310,7 +3310,7 @@ \subsubsection{Flow filter}\label{sec:Device Types / Network Device / Device Ope command VIRTIO_ADMIN_CMD_RESOURCE_OBJ_CREATE when the resource \field{type} is VIRTIO_NET_RESOURCE_OBJ_FF_CLASSIFIER, if the number of flow filter selector objects in the device exceeds the configured driver capability -\field{selectors_limit}. +\field{classifiers_limit}. The device SHOULD set \field{status} to VIRTIO_ADMIN_STATUS_EBUSY for the command VIRTIO_ADMIN_CMD_RESOURCE_OBJ_DESTROY for a flow filter group when
Signature · 1 line
2.34.1