diff options
author | Petr Machata <petrm@nvidia.com> | 2022-03-02 18:31:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-03 10:37:23 +0000 |
commit | c1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9 (patch) | |
tree | ddcb598f688591c0948dcaa594ff92c559b55b74 /drivers/net/xen-netback/netback.c | |
parent | 9834e2467c868a670e469ef1176e991ac4aac53d (diff) |
mlxsw: Extract classification of router-related events to a helper
Several more events are coming in the following patches, and extending the
if statement is getting awkward. Instead, convert it to a switch.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions