Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/diag/
Dsf_tracepoint.h19 u32 sfnum),
20 TP_ARGS(dev, port_index, controller, hw_fn_id, sfnum),
25 __field(u32, sfnum)
31 __entry->sfnum = sfnum;
35 __entry->hw_fn_id, __entry->sfnum)
63 u32 sfnum),
64 TP_ARGS(dev, controller, hw_fn_id, sfnum),
68 __field(u32, sfnum)
73 __entry->sfnum = sfnum;
77 __entry->sfnum)
Dvhca_tracepoint.h20 __field(u32, sfnum)
25 __entry->sfnum = event->sw_function_id;
30 __entry->sfnum, __entry->vhca_state)
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/
Ddev_tracepoint.h23 __field(u32, sfnum)
29 __entry->sfnum = sfdev->sfnum;
34 __entry->sfnum)
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c45 return sysfs_emit(buf, "%u\n", sf_dev->sfnum); in sfnum_show()
47 static DEVICE_ATTR_RO(sfnum);
83 static void mlx5_sf_dev_add(struct mlx5_core_dev *dev, u16 sf_index, u16 fn_id, u32 sfnum) in mlx5_sf_dev_add() argument
109 sf_dev->sfnum = sfnum; in mlx5_sf_dev_add()
145 sf_index, sfnum, err); in mlx5_sf_dev_add()
Ddev.h18 u32 sfnum; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c65 u32 controller, u32 sfnum, struct netlink_ext_ack *extack) in mlx5_sf_alloc() argument
78 id_err = mlx5_sf_hw_table_sf_alloc(table->dev, controller, sfnum); in mlx5_sf_alloc()
292 sf = mlx5_sf_alloc(table, esw, new_attr->controller, new_attr->sfnum, extack); in mlx5_sf_add()
297 new_attr->controller, new_attr->sfnum); in mlx5_sf_add()
301 trace_mlx5_sf_add(dev, sf->port_index, sf->controller, sf->hw_fn_id, new_attr->sfnum); in mlx5_sf_add()
/linux-6.1.9/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…
713 …..... 24610.188722: mlx5_sf_add: (0000:06:00.0) port_index=32768 controller=0 hw_id=0x8000 sfnum=88
727 …5 [031] ..... 26296.385259: mlx5_sf_hwc_alloc: (0000:06:00.0) controller=0 hw_id=0x8000 sfnum=88
[all …]
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h704 u16 vport_num, u32 controller, u32 sfnum);
708 u16 vport_num, u32 controller, u32 sfnum);
Deswitch_offloads.c3839 u16 vport_num, u32 controller, u32 sfnum) in mlx5_esw_offloads_sf_vport_enable() argument
3847 err = mlx5_esw_devlink_sf_port_register(esw, dl_port, vport_num, controller, sfnum); in mlx5_esw_offloads_sf_vport_enable()
3851 mlx5_esw_vport_debugfs_create(esw, vport_num, true, sfnum); in mlx5_esw_offloads_sf_vport_enable()
/linux-6.1.9/include/net/
Ddevlink.h147 u32 sfnum; member
/linux-6.1.9/net/core/
Ddevlink.c1824 new_attrs.sfnum = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_PCI_SF_NUMBER]); in devlink_nl_cmd_port_new_doit()