Home
last modified time | relevance | path

Searched refs:mlx5e_skb_cb_hwtstamp (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c22 struct mlx5e_skb_cb_hwtstamp { struct
29 memset(skb->cb, 0, sizeof(struct mlx5e_skb_cb_hwtstamp)); in mlx5e_skb_cb_hwtstamp_init() argument
32 static struct mlx5e_skb_cb_hwtstamp *mlx5e_skb_cb_get_hwts(struct sk_buff *skb) in mlx5e_skb_cb_get_hwts()
34 BUILD_BUG_ON(sizeof(struct mlx5e_skb_cb_hwtstamp) > sizeof(skb->cb)); in mlx5e_skb_cb_get_hwts()
35 return (struct mlx5e_skb_cb_hwtstamp *)skb->cb; in mlx5e_skb_cb_get_hwts()
79 memset(skb->cb, 0, sizeof(struct mlx5e_skb_cb_hwtstamp)); in mlx5e_skb_cb_hwtstamp_handler()