Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c217 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
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()
254 md->out_tc_occ = rx_md_info->tx_congestion; in mlxsw_sp_psample_md_init()
256 md->latency = rx_md_info->latency; in mlxsw_sp_psample_md_init()
[all …]
H A Dpci.c697 cb->rx_md_info.tx_port_is_lag = true; in mlxsw_pci_cqe_rdq_md_tx_port_init()
699 cb->rx_md_info.tx_lag_port_index = in mlxsw_pci_cqe_rdq_md_tx_port_init()
702 cb->rx_md_info.tx_port_is_lag = false; in mlxsw_pci_cqe_rdq_md_tx_port_init()
703 cb->rx_md_info.tx_sys_port = in mlxsw_pci_cqe_rdq_md_tx_port_init()
709 cb->rx_md_info.tx_port_valid = 1; in mlxsw_pci_cqe_rdq_md_tx_port_init()
711 cb->rx_md_info.tx_port_valid = 0; in mlxsw_pci_cqe_rdq_md_tx_port_init()
720 cb->rx_md_info.tx_congestion_valid = 1; in mlxsw_pci_cqe_rdq_md_init()
727 cb->rx_md_info.latency_valid = 1; in mlxsw_pci_cqe_rdq_md_init()
729 cb->rx_md_info.latency_valid = 0; in mlxsw_pci_cqe_rdq_md_init()
733 cb->rx_md_info.tx_tc_valid = 1; in mlxsw_pci_cqe_rdq_md_init()
[all …]
H A Dcore.h587 struct mlxsw_rx_md_info rx_md_info; member
H A Dspectrum.c2351 napi_gro_receive(mlxsw_skb_cb(skb)->rx_md_info.napi, skb); in mlxsw_sp_rx_listener_no_mark_func()