OSDN Git Service

flow_offload: turn hw_stats_type into dedicated enum
authorJiri Pirko <jiri@resnulli.us>
Tue, 10 Mar 2020 15:49:08 +0000 (16:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 23:04:19 +0000 (16:04 -0700)
commit42d5fe5f9c19a3c6a74186190936df91dcab4aa4
treefb11ac082240faf1d5bc4a2dceaad550eef19962
parenta393daa8993fd7d6c9c33110d5dac08bc0dc2696
flow_offload: turn hw_stats_type into dedicated enum

Put the values into enum and add an enum to define the bits.

Suggested-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h