flow_offload: Introduce offload of HW stats type
authorJiri Pirko <jiri@mellanox.com>
Sat, 7 Mar 2020 11:40:11 +0000 (12:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 04:07:47 +0000 (21:07 -0700)
commit2514921e72472806b059316122f232c0bbdaf1a1
tree54b227c6ae102866b39b9bfea2973ee2cf69058d
parentcaf48383f1e631d0422cafa24d9f7eda35686feb
flow_offload: Introduce offload of HW stats type

Initially, pass "ANY" (struct is zeroed) to the drivers as that is the
current implicit value coming down to flow_offload. Add a bool
indicating that entries have mixed HW stats type.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h