Searched refs:hw_metadata (Results 1 – 2 of 2) sorted by relevance
117 const struct net_dm_hw_metadata *hw_metadata);122 struct net_dm_hw_metadata *hw_metadata; member439 const struct net_dm_hw_metadata *hw_metadata) in net_dm_hw_summary_probe() argument456 if (!strncmp(hw_entry->trap_name, hw_metadata->trap_name, in net_dm_hw_summary_probe()466 strlcpy(hw_entry->trap_name, hw_metadata->trap_name, in net_dm_hw_summary_probe()712 const struct net_dm_hw_metadata *hw_metadata) in net_dm_hw_packet_report_size() argument722 nla_total_size(strlen(hw_metadata->trap_group_name) + 1) + in net_dm_hw_packet_report_size()724 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size()740 struct net_dm_hw_metadata *hw_metadata; in net_dm_hw_packet_report_fill() local744 hw_metadata = NET_DM_SKB_CB(skb)->hw_metadata; in net_dm_hw_packet_report_fill()[all …]
7969 devlink_trap_report_metadata_fill(struct net_dm_hw_metadata *hw_metadata, in devlink_trap_report_metadata_fill() argument7975 hw_metadata->trap_group_name = group_item->group->name; in devlink_trap_report_metadata_fill()7976 hw_metadata->trap_name = trap_item->trap->name; in devlink_trap_report_metadata_fill()7980 hw_metadata->input_dev = in_devlink_port->type_dev; in devlink_trap_report_metadata_fill()7995 struct net_dm_hw_metadata hw_metadata = {}; in devlink_trap_report() local8000 devlink_trap_report_metadata_fill(&hw_metadata, trap_item, in devlink_trap_report()8002 net_dm_hw_report(skb, &hw_metadata); in devlink_trap_report()