Home
last modified time | relevance | path

Searched refs:sfnum (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c39 return sysfs_emit(buf, "%u\n", sf_dev->sfnum); in sfnum_show()
41 static DEVICE_ATTR_RO(sfnum);
72 static void mlx5_sf_dev_add(struct mlx5_core_dev *dev, u16 sf_index, u32 sfnum) in mlx5_sf_dev_add() argument
98 sf_dev->sfnum = sfnum; in mlx5_sf_dev_add()
131 sf_index, sfnum, err); in mlx5_sf_dev_add()
Ddev.h18 u32 sfnum; member
/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c63 u32 controller, u32 sfnum, struct netlink_ext_ack *extack) in mlx5_sf_alloc() argument
76 id_err = mlx5_sf_hw_table_sf_alloc(table->dev, controller, sfnum); in mlx5_sf_alloc()
287 sf = mlx5_sf_alloc(table, esw, new_attr->controller, new_attr->sfnum, extack); in mlx5_sf_add()
292 new_attr->controller, new_attr->sfnum); in mlx5_sf_add()
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c138 u16 vport_num, u32 controller, u32 sfnum) in mlx5_esw_devlink_sf_port_register() argument
156 devlink_port_attrs_pci_sf_set(dl_port, controller, pfnum, sfnum, !!controller); in mlx5_esw_devlink_sf_port_register()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h685 u16 vport_num, u32 controller, u32 sfnum);
689 u16 vport_num, u32 controller, u32 sfnum);
Deswitch_offloads.c3691 u16 vport_num, u32 controller, u32 sfnum) in mlx5_esw_offloads_sf_vport_enable() argument
3699 err = mlx5_esw_devlink_sf_port_register(esw, dl_port, vport_num, controller, sfnum); in mlx5_esw_offloads_sf_vport_enable()