On 29/05/2023 14:48, Ido Schimmel wrote: > Currently, mlxsw only supports the 'ingress_ifindex' field in the > 'FLOW_DISSECTOR_KEY_META' key, but subsequent patches are going to add > support for the 'l2_miss' field as well. Split the parsing of the > 'ingress_ifindex' field to a separate function to avoid nesting. No > functional changes intended. > > Signed-off-by: Ido Schimmel <idosch@xxxxxxxxxx> > --- > > Notes: > v2: > * New patch. > > .../ethernet/mellanox/mlxsw/spectrum_flower.c | 54 +++++++++++-------- > 1 file changed, 33 insertions(+), 21 deletions(-) > Reviewed-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>