diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2023-10-03 20:57:20 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2024-02-05 16:45:49 -0800 |
commit | fd2bc4195d5107f88c1b90e1ec935888ccbfc5c0 (patch) | |
tree | 5501447fa7eed70a98da74dd193f6a7ce1d2134c /include/linux/netdevice.h | |
parent | 8ff25dac88f616ebebb30830e3a20f079d7a30c9 (diff) | |
download | linux-fd2bc4195d5107f88c1b90e1ec935888ccbfc5c0.tar.gz linux-fd2bc4195d5107f88c1b90e1ec935888ccbfc5c0.tar.bz2 linux-fd2bc4195d5107f88c1b90e1ec935888ccbfc5c0.zip |
xfrm: generalize xdo_dev_state_update_curlft to allow statistics update
In order to allow drivers to fill all statistics, change the name
of xdo_dev_state_update_curlft to be xdo_dev_state_update_stats.
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 118c40258d07..9538576dbebc 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1062,7 +1062,7 @@ struct xfrmdev_ops { bool (*xdo_dev_offload_ok) (struct sk_buff *skb, struct xfrm_state *x); void (*xdo_dev_state_advance_esn) (struct xfrm_state *x); - void (*xdo_dev_state_update_curlft) (struct xfrm_state *x); + void (*xdo_dev_state_update_stats) (struct xfrm_state *x); int (*xdo_dev_policy_add) (struct xfrm_policy *x, struct netlink_ext_ack *extack); void (*xdo_dev_policy_delete) (struct xfrm_policy *x); void (*xdo_dev_policy_free) (struct xfrm_policy *x); |