Re: [PATCH net-next 4/5] gve: Add flow steering adminq commands

From: David Wei
Date: Mon May 20 2024 - 13:27:36 EST


On 2024-05-09 17:18, Ziwei Xiao wrote:
> On Tue, May 7, 2024 at 11:24 PM David Wei <dw@xxxxxxxxxxx> wrote:
>>
>> On 2024-05-07 15:59, Ziwei Xiao wrote:

[...]

>>> +/* Flow-steering related definitions */
>>> +enum gve_adminq_flow_rule_cfg_opcode {
>>> + GVE_RULE_ADD = 0,
>>> + GVE_RULE_DEL = 1,
>>> + GVE_RULE_RESET = 2,
>>> +};
>>
>> Could these be more descriptive?
>>
> Could you be more specific on which needs to be improved? Is the enum
> name or the field name?

Sorry for the late response.

The enum field names. GVE_RULE_x is too sparse for me; what rule? To
match the rest of the file maybe something like GVE_FLOW_RULE_CFG_x.