Searched refs:dest_idx (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_mac.c | 407 u8 *mac, u16 *vid, u32 *dest_idx) in lan966x_mac_process_raw_entry() argument 417 *dest_idx = ANA_MACACCESS_DEST_IDX_GET(raw_entry->maca); in lan966x_mac_process_raw_entry() 427 u32 dest_idx; in lan966x_mac_irq_process() local 449 mac, &vid, &dest_idx); in lan966x_mac_irq_process() 450 if (WARN_ON(dest_idx >= lan966x->num_phys_ports)) in lan966x_mac_irq_process() 458 mac_entry->port_index == dest_idx) { in lan966x_mac_irq_process() 503 mac, &vid, &dest_idx); in lan966x_mac_irq_process() 504 if (WARN_ON(dest_idx >= lan966x->num_phys_ports)) in lan966x_mac_irq_process() 508 mac_entry = lan966x_mac_find_entry(lan966x, mac, vid, dest_idx); in lan966x_mac_irq_process() 514 port = lan966x->ports[dest_idx]; in lan966x_mac_irq_process()
|
| /linux-6.15/fs/pstore/ |
| H A D | ftrace.c | 161 size_t dest_idx = 0, src_idx = 0, merged_idx = 0; in pstore_ftrace_combine_log() local 182 if (pstore_ftrace_read_timestamp(&drec[dest_idx]) < in pstore_ftrace_combine_log() 184 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log() 193 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
|
| /linux-6.15/drivers/net/ethernet/broadcom/ |
| H A D | b44.c | 639 int dest_idx; in b44_alloc_rx_skb() local 645 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_alloc_rx_skb() 646 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb() 692 if (dest_idx == (B44_RX_RING_SIZE - 1)) in b44_alloc_rx_skb() 695 dp = &bp->rx_ring[dest_idx]; in b44_alloc_rx_skb() 701 dest_idx * sizeof(*dp), in b44_alloc_rx_skb() 712 int dest_idx; in b44_recycle_rx() local 716 dest_desc = &bp->rx_ring[dest_idx]; in b44_recycle_rx() 717 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx() 733 if (dest_idx == (B44_RX_RING_SIZE - 1)) in b44_recycle_rx() [all …]
|
| H A D | tg3.c | 6703 int skb_size, data_size, dest_idx; in tg3_alloc_rx_data() local 6707 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_alloc_rx_data() 6708 desc = &tpr->rx_std[dest_idx]; in tg3_alloc_rx_data() 6709 map = &tpr->rx_std_buffers[dest_idx]; in tg3_alloc_rx_data() 6715 desc = &tpr->rx_jmb[dest_idx].std; in tg3_alloc_rx_data() 6716 map = &tpr->rx_jmb_buffers[dest_idx]; in tg3_alloc_rx_data() 6771 int dest_idx; in tg3_recycle_rx() local 6776 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx() 6777 dest_map = &dpr->rx_std_buffers[dest_idx]; in tg3_recycle_rx() 6784 dest_desc = &dpr->rx_jmb[dest_idx].std; in tg3_recycle_rx() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch_offloads.c | 469 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_vport() argument 471 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_VPORT; in esw_setup_dest_fwd_vport() 472 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].vport; in esw_setup_dest_fwd_vport() 474 dest[dest_idx].vport.vhca_id = in esw_setup_dest_fwd_vport() 477 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK && in esw_setup_dest_fwd_vport() 479 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_UPLINK; in esw_setup_dest_fwd_vport() 494 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_ipsec() argument 496 dest[dest_idx].ft = esw->offloads.ft_ipsec_tx_pol; in esw_setup_dest_fwd_ipsec() 508 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_vport_dest() argument 512 attr_idx, dest_idx, pkt_reformat); in esw_setup_vport_dest() [all …]
|