Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_bloom_filter.c405 unsigned int bf_index) in mlxsw_sp_acl_bf_rule_count_index_get() argument
407 return erp_bank * bf->bank_size + bf_index; in mlxsw_sp_acl_bf_rule_count_index_get()
419 u16 bf_index; in mlxsw_sp_acl_bf_entry_add() local
424 bf_index = mlxsw_sp->acl_bf_ops->index_get(bf, aregion, aentry); in mlxsw_sp_acl_bf_entry_add()
426 bf_index); in mlxsw_sp_acl_bf_entry_add()
440 mlxsw_reg_peabfe_rec_pack(peabfe_pl, 0, 1, erp_bank, bf_index); in mlxsw_sp_acl_bf_entry_add()
463 u16 bf_index; in mlxsw_sp_acl_bf_entry_del() local
467 bf_index = mlxsw_sp->acl_bf_ops->index_get(bf, aregion, aentry); in mlxsw_sp_acl_bf_entry_del()
469 bf_index); in mlxsw_sp_acl_bf_entry_del()
477 mlxsw_reg_peabfe_rec_pack(peabfe_pl, 0, 0, erp_bank, bf_index); in mlxsw_sp_acl_bf_entry_del()
Dreg.h3434 u8 state, u8 bank, u32 bf_index) in mlxsw_reg_peabfe_rec_pack() argument
3442 mlxsw_reg_peabfe_bf_entry_index_set(payload, rec_index, bf_index); in mlxsw_reg_peabfe_rec_pack()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c772 int desc_size, int bf_index, in mlx4_en_tx_write_desc() argument
779 op_own |= htonl((bf_index & 0xffff) << 8); in mlx4_en_tx_write_desc()
885 u32 index, bf_index; in mlx4_en_xmit() local
937 bf_index = ring->prod; in mlx4_en_xmit()
1112 mlx4_en_tx_write_desc(ring, tx_desc, qpn_vlan, desc_size, bf_index, in mlx4_en_xmit()