Searched refs:hw_metadata (Results 1 – 1 of 1) sorted by relevance
125 struct devlink_trap_metadata *hw_metadata; member746 net_dm_flow_action_cookie_size(const struct devlink_trap_metadata *hw_metadata) in net_dm_flow_action_cookie_size() argument748 return hw_metadata->fa_cookie ? in net_dm_flow_action_cookie_size()749 nla_total_size(hw_metadata->fa_cookie->cookie_len) : 0; in net_dm_flow_action_cookie_size()754 const struct devlink_trap_metadata *hw_metadata) in net_dm_hw_packet_report_size() argument764 nla_total_size(strlen(hw_metadata->trap_group_name) + 1) + in net_dm_hw_packet_report_size()766 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size()770 net_dm_flow_action_cookie_size(hw_metadata) + in net_dm_hw_packet_report_size()784 struct devlink_trap_metadata *hw_metadata; in net_dm_hw_packet_report_fill() local788 hw_metadata = NET_DM_SKB_CB(skb)->hw_metadata; in net_dm_hw_packet_report_fill()[all …]