Searched refs:spvm_pl (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 826 char *spvm_pl; in __mlxsw_sp_port_vlan_set() local 829 spvm_pl = kmalloc(MLXSW_REG_SPVM_LEN, GFP_KERNEL); in __mlxsw_sp_port_vlan_set() 830 if (!spvm_pl) in __mlxsw_sp_port_vlan_set() 833 mlxsw_reg_spvm_pack(spvm_pl, mlxsw_sp_port->local_port, vid_begin, in __mlxsw_sp_port_vlan_set() 835 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spvm), spvm_pl); in __mlxsw_sp_port_vlan_set() 836 kfree(spvm_pl); in __mlxsw_sp_port_vlan_set()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 1021 char *spvm_pl; in __mlxsw_sp_port_vlan_set() local 1024 spvm_pl = kmalloc(MLXSW_REG_SPVM_LEN, GFP_KERNEL); in __mlxsw_sp_port_vlan_set() 1025 if (!spvm_pl) in __mlxsw_sp_port_vlan_set() 1028 mlxsw_reg_spvm_pack(spvm_pl, mlxsw_sp_port->local_port, vid_begin, in __mlxsw_sp_port_vlan_set() 1030 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spvm), spvm_pl); in __mlxsw_sp_port_vlan_set() 1031 kfree(spvm_pl); in __mlxsw_sp_port_vlan_set()
|
Completed in 13 milliseconds