Lines Matching refs:rx_md_info
115 u32 cookie_index = mlxsw_skb_cb(skb)->rx_md_info.cookie_index; in mlxsw_sp_rx_acl_drop_listener()
213 const struct mlxsw_rx_md_info *rx_md_info) in mlxsw_sp_sample_tx_port_get() argument
217 if (!rx_md_info->tx_port_valid) in mlxsw_sp_sample_tx_port_get()
220 if (rx_md_info->tx_port_is_lag) in mlxsw_sp_sample_tx_port_get()
222 rx_md_info->tx_lag_id, in mlxsw_sp_sample_tx_port_get()
223 rx_md_info->tx_lag_port_index); in mlxsw_sp_sample_tx_port_get()
225 local_port = rx_md_info->tx_sys_port; in mlxsw_sp_sample_tx_port_get()
243 struct mlxsw_rx_md_info *rx_md_info = &mlxsw_skb_cb(skb)->rx_md_info; in mlxsw_sp_psample_md_init() local
248 mlxsw_sp_port = mlxsw_sp_sample_tx_port_get(mlxsw_sp, rx_md_info); in mlxsw_sp_psample_md_init()
251 md->out_tc_valid = rx_md_info->tx_tc_valid; in mlxsw_sp_psample_md_init()
252 md->out_tc = rx_md_info->tx_tc; in mlxsw_sp_psample_md_init()
253 md->out_tc_occ_valid = rx_md_info->tx_congestion_valid; in mlxsw_sp_psample_md_init()
254 md->out_tc_occ = rx_md_info->tx_congestion; in mlxsw_sp_psample_md_init()
255 md->latency_valid = rx_md_info->latency_valid; in mlxsw_sp_psample_md_init()
256 md->latency = rx_md_info->latency; in mlxsw_sp_psample_md_init()
299 struct mlxsw_rx_md_info *rx_md_info = &mlxsw_skb_cb(skb)->rx_md_info; in mlxsw_sp_rx_sample_tx_listener() local
324 mlxsw_sp_port_tx = mlxsw_sp_sample_tx_port_get(mlxsw_sp, rx_md_info); in mlxsw_sp_rx_sample_tx_listener()