Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c42 return sysfs_emit(buf, "%u\n", sf_dev->sfnum); in sfnum_show()
44 static DEVICE_ATTR_RO(sfnum);
75 static void mlx5_sf_dev_add(struct mlx5_core_dev *dev, u16 sf_index, u32 sfnum) in mlx5_sf_dev_add() argument
101 sf_dev->sfnum = sfnum; in mlx5_sf_dev_add()
134 sf_index, sfnum, err); in mlx5_sf_dev_add()
Ddev.h18 u32 sfnum; member
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/Documentation/networking/device_drivers/ethernet/mellanox/
Dmlx5.rst325 $ devlink port add pci/0000:06:00.0 flavour pcisf pfnum 0 sfnum 88
326 …pci/0000:06:00.0/32768: type eth netdev eth6 flavour pcisf controller 0 pfnum 0 sfnum 88 external …
333 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88
378 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88
387 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcivf pfnum 0 sfnum 88
399 …pci/0000:06:00.0/32768: type eth netdev ens2f0npf0sf88 flavour pcisf controller 0 pfnum 0 sfnum 88…
408 …pci/0000:06:00.0/32768: type eth netdev ens2f0npf0sf88 flavour pcisf controller 0 pfnum 0 sfnum 88…
456 …pci/0000:06:00.0/32768: type eth netdev ens2f0npf0sf88 flavour pcisf controller 0 pfnum 0 sfnum 88…
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h679 u16 vport_num, u32 controller, u32 sfnum);
683 u16 vport_num, u32 controller, u32 sfnum);
Deswitch_offloads.c3702 u16 vport_num, u32 controller, u32 sfnum) in mlx5_esw_offloads_sf_vport_enable() argument
3710 err = mlx5_esw_devlink_sf_port_register(esw, dl_port, vport_num, controller, sfnum); in mlx5_esw_offloads_sf_vport_enable()
/Linux-v5.15/include/net/
Ddevlink.h182 u32 sfnum; member
/Linux-v5.15/net/core/
Ddevlink.c1568 new_attrs.sfnum = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_PCI_SF_NUMBER]); in devlink_nl_cmd_port_new_doit()