Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c580 cb->rx_md_info.tx_port_is_lag = true; in mlxsw_pci_cqe_rdq_md_tx_port_init()
581 cb->rx_md_info.tx_lag_id = mlxsw_pci_cqe2_tx_lag_id_get(cqe); in mlxsw_pci_cqe_rdq_md_tx_port_init()
582 cb->rx_md_info.tx_lag_port_index = in mlxsw_pci_cqe_rdq_md_tx_port_init()
585 cb->rx_md_info.tx_port_is_lag = false; in mlxsw_pci_cqe_rdq_md_tx_port_init()
586 cb->rx_md_info.tx_sys_port = in mlxsw_pci_cqe_rdq_md_tx_port_init()
590 if (cb->rx_md_info.tx_sys_port != MLXSW_PCI_CQE2_TX_PORT_MULTI_PORT && in mlxsw_pci_cqe_rdq_md_tx_port_init()
591 cb->rx_md_info.tx_sys_port != MLXSW_PCI_CQE2_TX_PORT_INVALID) in mlxsw_pci_cqe_rdq_md_tx_port_init()
592 cb->rx_md_info.tx_port_valid = 1; in mlxsw_pci_cqe_rdq_md_tx_port_init()
594 cb->rx_md_info.tx_port_valid = 0; in mlxsw_pci_cqe_rdq_md_tx_port_init()
601 cb->rx_md_info.tx_congestion = mlxsw_pci_cqe2_mirror_cong_get(cqe); in mlxsw_pci_cqe_rdq_md_init()
[all …]
Dspectrum_trap.c115 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()
[all …]
Dcore.h570 struct mlxsw_rx_md_info rx_md_info; member