id
stringlengths
4
63
text
stringlengths
153
8.81M
mkstemps(3)
NAME mkstemp, mkostemp, mkstemps, mkostemps - create a unique temporary file LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int mkstemp(char *template); int mkostemp(char *template, int flags); int mkstemps(char *template, int suffixlen); int mkostemps(char *template,...
mkswap(8)
NAME mkswap - set up a Linux swap area SYNOPSIS mkswap [options] device [blocks] mkswap [options] --size size --file file DESCRIPTION mkswap sets up a Linux swap area on a device or in a file. The device argument will usually be a disk partition (something like /dev/sdb7) but can also be a file. The L...
mktemp(1)
NAME mktemp - create a temporary file or directory SYNOPSIS mktemp [OPTION]... [TEMPLATE] DESCRIPTION Create a temporary file or directory, safely, and print its name. TEMPLATE must contain at least 3 consecutive 'X's in last component. If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and --tmpdir is implied. ...
mktemp(3)
NAME mktemp - make a unique temporary filename LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> char *mktemp(char *template); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): mktemp(): Since glibc 2.12: (_XOPEN_SOURCE >= 500) && !...
mktexfmt(1)
NAME fmtutil - manage TeX formats and Metafont bases, per-user fmtutil-sys - manage TeX formats and Metafont bases, system-wide mktexfmt - create a TeX format or Metafont base SYNOPSIS fmtutil [-user|-sys] [OPTION] ... [COMMAND] fmtutil-sys [OPTION] ... [COMMAND] fmtutil-user [OPTION] ... [COMMAND] mktexfmt FORMAT.fmt...
mktexlsr(1)
NAME mktexlsr - create ls-R databases SYNOPSIS mktexlsr [directories] DESCRIPTION This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Kpathsea: A library for path searching. mktexlsr is used to generate the ls-R databases ...
mktexmf(1)
NAME mktexmf - create a Metafont source file SYNOPSIS mktexmf font DESCRIPTION This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Kpathsea: A library for path searching. mktexmf is used to generate the Metafont source fil...
mktexpk(1)
NAME mktexpk - create a PK file for a font SYNOPSIS mktexpk [options] font [redirect] DESCRIPTION This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Kpathsea: A library for path searching. mktexpk is used to generate a pk...
mktextfm(1)
NAME mktextfm - create a TFM file for a font SYNOPSIS mktextfm [options] font DESCRIPTION mktextfm is used to generate a tfm file from the Metafont source files for font, or hbf2gf(1), if possible. If destdir is given, the generated file will be installed there, otherwise a (rather complicated) heuristic is used. ...
mktime(3)
NAME asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r, localtime_r - transform date and time to broken-down time or ASCII LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <time.h> char *asctime(const struct tm *tm); char *asctime_r(const struct tm *restrict tm, ...
mktime(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME mktime — convert broken-down time into time since the Epoch SY...
mktime64(9)
NAME mktime64 - Converts date to seconds. SYNOPSIS time64_t mktime64 (const unsigned int year0 , const unsigned int mon0 , const unsigned int day , const unsigned int hour , const unsigned int min , const unsigned int sec ); ARGUMENTS year0 year to convert mon0 month to convert day ...
mlabel(1)
Name mlabel - make an MSDOS volume label Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mlabel command adds a volume label to a disk. Its syntax is: mlabel [-vcs...
mldsa_verify(9)
NAME mldsa_verify - Verify an ML-DSA signature SYNOPSIS int mldsa_verify (enum mldsa_alg alg , const u8 *sig , size_t sig_len , const u8 *msg , size_t msg_len , const u8 *pk , size_t pk_len ); ARGUMENTS alg The ML-DSA parameter set to use sig The signature sig_len Length of the sig...
mlme_reset_request_sync(9)
NAME mlme_reset_request_sync - MLME_RESET_request/confirm according to API Spec SYNOPSIS u8 mlme_reset_request_sync (u8 set_default_pib , void *device_ref ); ARGUMENTS set_default_pib Set defaults in PIB device_ref Nondescript pointer to target device RETURN 802.15.4 status code of MLME-RESET.confirm SEE A...
mlme_set_request_sync(9)
NAME mlme_set_request_sync - MLME_SET_request/confirm according to API Spec SYNOPSIS u8 mlme_set_request_sync (u8 pib_attribute , u8 pib_attribute_index , u8 pib_attribute_length , const void *pib_attribute_value , void *device_ref ); ARGUMENTS pib_attribute Attribute Number pib_attribute_index ...
mlocate.db(5)
NAME mlocate.db - a mlocate database DESCRIPTION A mlocate database starts with a file header: 8 bytes for a magic number ("\0mlocate" like a C literal), 4 bytes for the configuration block size in big endian, 1 byte for file format version (0), 1 byte for the “require visibility” flag (0 or 1), 2 bytes padding, and ...
mlock(2)
NAME mlock, mlock2, munlock, mlockall, munlockall - lock and unlock memory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/mman.h> int mlock(size_t size; const void addr[size], size_t size); int mlock2(size_t size; const void addr[size], size_t size, unsi...
mlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME mlock, munlock — lock or unlock a range of process address spac...
mlock2(2)
NAME mlock, mlock2, munlock, mlockall, munlockall - lock and unlock memory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/mman.h> int mlock(size_t size; const void addr[size], size_t size); int mlock2(size_t size; const void addr[size], size_t size, unsi...
mlock_folio(9)
NAME mlock_folio - mlock a folio already on (or temporarily off) LRU SYNOPSIS void mlock_folio (struct folio *folio ); ARGUMENTS folio folio to be mlocked. SEE ALSO Kernel file ./mm/mlock.c mlock_new_folio(9), munlock_folio(9) April 2026 ...
mlock_new_folio(9)
NAME mlock_new_folio - mlock a newly allocated folio not yet on LRU SYNOPSIS void mlock_new_folio (struct folio *folio ); ARGUMENTS folio folio to be mlocked, either normal or a THP head. SEE ALSO Kernel file ./mm/mlock.c mlock_folio(9), munlock_folio(9) April 2026 ...
mlockall(2)
NAME mlock, mlock2, munlock, mlockall, munlockall - lock and unlock memory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/mman.h> int mlock(size_t size; const void addr[size], size_t size); int mlock2(size_t size; const void addr[size], size_t size, unsi...
mlockall(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME mlockall, munlockall — lock/unlock the address space of a proce...
mls_export_netlbl_cat(9)
NAME mls_export_netlbl_cat - Export the MLS categories to NetLabel SYNOPSIS int mls_export_netlbl_cat (struct policydb *p , struct context *context , struct netlbl_lsm_secattr *secattr ); ARGUMENTS p the policy context the security context secattr the NetLabel security attributes DE...
mls_export_netlbl_lvl(9)
NAME mls_export_netlbl_lvl - Export the MLS sensitivity levels to NetLabel SYNOPSIS void mls_export_netlbl_lvl (struct policydb *p , struct context *context , struct netlbl_lsm_secattr *secattr ); ARGUMENTS p the policy context the security context secattr the NetLabel security attri...
mls_import_netlbl_cat(9)
NAME mls_import_netlbl_cat - Import the MLS categories from NetLabel SYNOPSIS int mls_import_netlbl_cat (struct policydb *p , struct context *context , struct netlbl_lsm_secattr *secattr ); ARGUMENTS p the policy context the security context secattr the NetLabel security attributes ...
mls_import_netlbl_lvl(9)
NAME mls_import_netlbl_lvl - Import the NetLabel MLS sensitivity levels SYNOPSIS void mls_import_netlbl_lvl (struct policydb *p , struct context *context , struct netlbl_lsm_secattr *secattr ); ARGUMENTS p the policy context the security context secattr the NetLabel security attribut...
mlx4_ACCESS_PTYS_REG(9)
NAME mlx4_ACCESS_PTYS_REG - Access PTYs (Port Type and Speed) register SYNOPSIS int mlx4_ACCESS_PTYS_REG (struct mlx4_dev *dev , enum mlx4_access_reg_method method , struct mlx4_ptys_reg *ptys_reg ); ARGUMENTS dev mlx4_dev. method Access method Read/Write. ptys_reg PTYS register data p...
mlx4_ACCESS_REG(9)
NAME mlx4_ACCESS_REG - Generic access reg command. SYNOPSIS int mlx4_ACCESS_REG (struct mlx4_dev *dev , u16 reg_id , enum mlx4_access_reg_method method , u16 reg_len , void *reg_data ); ARGUMENTS dev mlx4_dev. reg_id register ID to access. method Access method Read/Write. reg...
mlx4_ALLOCATE_VPP_get(9)
NAME mlx4_ALLOCATE_VPP_get - Query port VPP available resources and allocation. Before distribution of VPPs to priorities, only available_vpp is returned. After initialization it returns the distribution of VPPs among priori‐ ties. SYNOPSIS int mlx4_ALLOCATE_VPP_get (struct mlx4_dev *dev , u8 port , u16 *available_vp...
mlx4_ALLOCATE_VPP_set(9)
NAME mlx4_ALLOCATE_VPP_set - Distribution of VPPs among different priorities. The total number of VPPs assigned to all for a port must not exceed the value reported by available_vpp in mlx4_ALLOCATE_VPP_get. VPP allocation is allowed only after the port type has been set, and while no QPs are open for this port. SYNO...
mlx4_SET_PORT_PRIO2TC(9)
NAME mlx4_SET_PORT_PRIO2TC - This routine maps user priorities to traffic classes of a given port and device. SYNOPSIS int mlx4_SET_PORT_PRIO2TC (struct mlx4_dev *dev , u8 port , u8 *prio2tc ); ARGUMENTS dev mlx4_dev. port Physical port number. prio2tc Array of TC associated with ea...
mlx4_SET_PORT_SCHEDULER(9)
NAME mlx4_SET_PORT_SCHEDULER - This routine configures the arbitration between traffic classes (ETS) and configured rate limit for traffic classes. tc_tx_bw, pg and ratelimit are arrays where each index represents a TC. The description for those parameters below refers to a single TC. SYNOPSIS int mlx4_SET_PORT_SCH...
mlx4_SET_VPORT_QOS_get(9)
NAME mlx4_SET_VPORT_QOS_get - Query QoS properties of a Vport. Each priority allowed for the Vport is assigned with a share of the BW, and a BW limitation. This commands query the current QoS values. SYNOPSIS int mlx4_SET_VPORT_QOS_get (struct mlx4_dev *dev , u8 port , u8 vport , struct mlx4_vport_qos_param *out_param...
mlx4_SET_VPORT_QOS_set(9)
NAME mlx4_SET_VPORT_QOS_set - Set QoS properties of a Vport. QoS parameters can be modified at any time, but must be initialized before any QP is associated with the VPort. SYNOPSIS int mlx4_SET_VPORT_QOS_set (struct mlx4_dev *dev , u8 port , u8 vport , struct mlx4_vport_qos_param *in_param ); ARGUMENTS dev m...
mlx4_en_phc_adjfine(9)
NAME mlx4_en_phc_adjfine - adjust the frequency of the hardware clock SYNOPSIS int mlx4_en_phc_adjfine (struct ptp_clock_info *ptp , long scaled_ppm ); ARGUMENTS ptp ptp clock structure scaled_ppm Desired frequency change in scaled parts per million DESCRIPTION Adjust the frequency of the PHC cycle ...
mlx4_en_phc_adjtime(9)
NAME mlx4_en_phc_adjtime - Shift the time of the hardware clock SYNOPSIS int mlx4_en_phc_adjtime (struct ptp_clock_info *ptp , s64 delta ); ARGUMENTS ptp ptp clock structure delta Desired change in nanoseconds DESCRIPTION Adjust the timer by resetting the timecounter structure. SEE ALSO Kernel...
mlx4_en_phc_enable(9)
NAME mlx4_en_phc_enable - enable or disable an ancillary feature SYNOPSIS int mlx4_en_phc_enable (struct ptp_clock_info *ptp , struct ptp_clock_request *request , int on ); ARGUMENTS ptp ptp clock structure request Desired resource to enable or disable on Caller passes one to enab...
mlx4_en_phc_gettime(9)
NAME mlx4_en_phc_gettime - Reads the current time from the hardware clock SYNOPSIS int mlx4_en_phc_gettime (struct ptp_clock_info *ptp , struct timespec64 *ts ); ARGUMENTS ptp ptp clock structure ts timespec structure to hold the current time value DESCRIPTION Read the timecounter and return...
mlx4_en_phc_settime(9)
NAME mlx4_en_phc_settime - Set the current time on the hardware clock SYNOPSIS int mlx4_en_phc_settime (struct ptp_clock_info *ptp , const struct timespec64 *ts ); ARGUMENTS ptp ptp clock structure ts timespec containing the new time for the cycle counter DESCRIPTION Reset the timecounter to...
mlx4_en_remove_timestamp(9)
NAME mlx4_en_remove_timestamp - disable PTP device SYNOPSIS void mlx4_en_remove_timestamp (struct mlx4_en_dev *mdev ); ARGUMENTS mdev board private structure DESCRIPTION Stop the PTP support. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx4/en_clock.c mlx4_en_phc_adjfine(9), mlx4_en_phc_adjtime(9), ...
mlx4_get_module_info(9)
NAME mlx4_get_module_info - Read cable module eeprom data SYNOPSIS int mlx4_get_module_info (struct mlx4_dev *dev , u8 port , u16 offset , u16 size , u8 *data ); ARGUMENTS dev mlx4_dev. port port number. offset byte offset in eeprom to start reading data from. size n...
mlx5_cmd_cleanup_async_ctx(9)
NAME mlx5_cmd_cleanup_async_ctx - Clean up an async_ctx SYNOPSIS void mlx5_cmd_cleanup_async_ctx (struct mlx5_async_ctx *ctx ); ARGUMENTS ctx The ctx to clean DESCRIPTION Upon return all callbacks given to mlx5_cmd_exec_cb have been called. The caller must ensure that mlx5_cmd_exec_cb is not called during or...
mlx5_cmd_do(9)
NAME mlx5_cmd_do - Executes a fw command, wait for completion. Unlike mlx5_cmd_exec, this function will not translate or intercept outbox.status and will return -EREMOTEIO when outbox.status != MLX5_CMD_STAT_OK SYNOPSIS int mlx5_cmd_do (struct mlx5_core_dev *dev , void *in , int in_size , void *out , int out_size ); ...
mlx5_cmd_exec(9)
NAME mlx5_cmd_exec - Executes a fw command, wait for completion SYNOPSIS int mlx5_cmd_exec (struct mlx5_core_dev *dev , void *in , int in_size , void *out , int out_size ); ARGUMENTS dev mlx5 core device in inbox mlx5_ifc command buffer in_size inbox buffer size out ...
mlx5_cmd_exec_polling(9)
NAME mlx5_cmd_exec_polling - Executes a fw command, poll for completion Needed for driver force teardown, when command completion EQ will not be available to complete the command SYNOPSIS int mlx5_cmd_exec_polling (struct mlx5_core_dev *dev , void *in , int in_size , void *out , int out_size ); ARGUMENTS dev ...
mlx5_ctrl_irq_release(9)
NAME mlx5_ctrl_irq_release - release a ctrl IRQ back to the system. SYNOPSIS void mlx5_ctrl_irq_release (struct mlx5_core_dev *dev , struct mlx5_irq *ctrl_irq ); ARGUMENTS dev mlx5 device that releasing the IRQ. ctrl_irq ctrl IRQ to be released. SEE ALSO Kernel file ./drivers/net/ethernet/mellan...
mlx5_ctrl_irq_request(9)
NAME mlx5_ctrl_irq_request - request a ctrl IRQ for mlx5 device. SYNOPSIS struct mlx5_irq * mlx5_ctrl_irq_request (struct mlx5_core_dev *dev ); ARGUMENTS dev mlx5 device that requesting the IRQ. DESCRIPTION This function returns a pointer to IRQ, or ERR_PTR in case of error. SEE ALSO Kernel file ./drivers...
mlx5_eq_disable(9)
NAME mlx5_eq_disable - Disable EQ for receiving EQEs SYNOPSIS void mlx5_eq_disable (struct mlx5_core_dev *dev , struct mlx5_eq *eq , struct notifier_block *nb ); ARGUMENTS dev Device which owns the eq eq EQ to disable nb Notifier call block DESCRIPTION Must be called before ...
mlx5_eq_enable(9)
NAME mlx5_eq_enable - Enable EQ for receiving EQEs SYNOPSIS int mlx5_eq_enable (struct mlx5_core_dev *dev , struct mlx5_eq *eq , struct notifier_block *nb ); ARGUMENTS dev Device which owns the eq eq EQ to enable nb Notifier call block DESCRIPTION Must be called after EQ is ...
mlx5_esw_get(9)
NAME mlx5_esw_get - Increase esw user count. SYNOPSIS void mlx5_esw_get (struct mlx5_core_dev *mdev ); ARGUMENTS mdev mlx5 core device. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_query_functions(9), mlx5_eswitch_enable_locked(9), mlx5_eswitch_enable(9), mlx...
mlx5_esw_hold(9)
NAME mlx5_esw_hold - Try to take a read lock on esw mode lock. SYNOPSIS bool mlx5_esw_hold (struct mlx5_core_dev *mdev ); ARGUMENTS mdev mlx5 core device. DESCRIPTION Should be called by esw resources callers. RETURN true on success or false. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx5/c...
mlx5_esw_put(9)
NAME mlx5_esw_put - Decrease esw user count. SYNOPSIS void mlx5_esw_put (struct mlx5_core_dev *mdev ); ARGUMENTS mdev mlx5 core device. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_query_functions(9), mlx5_eswitch_enable_locked(9), mlx5_eswitch_enable(9), mlx...
mlx5_esw_query_functions(9)
NAME mlx5_esw_query_functions - Returns raw output about functions state SYNOPSIS const u32 * mlx5_esw_query_functions (struct mlx5_core_dev *dev ); ARGUMENTS dev Pointer to device to query DESCRIPTION mlx5_esw_query_functions allocates and returns functions changed raw output memory pointer from device on s...
mlx5_esw_release(9)
NAME mlx5_esw_release - Release a read lock on esw mode lock. SYNOPSIS void mlx5_esw_release (struct mlx5_core_dev *mdev ); ARGUMENTS mdev mlx5 core device. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_query_functions(9), mlx5_eswitch_enable_locked(9), mlx5_eswitch_enable(...
mlx5_esw_try_lock(9)
NAME mlx5_esw_try_lock - Take a write lock on esw mode lock. SYNOPSIS int mlx5_esw_try_lock (struct mlx5_eswitch *esw ); ARGUMENTS esw eswitch device. DESCRIPTION Should be called by esw mode change routine. RETURN * 0 - esw mode if successfully locked and refcount is 0. * -EBUSY - refcount is not 0...
mlx5_esw_unlock(9)
NAME mlx5_esw_unlock - Release write lock on esw mode lock SYNOPSIS void mlx5_esw_unlock (struct mlx5_eswitch *esw ); ARGUMENTS esw eswitch device. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_query_functions(9), mlx5_eswitch_enable_locked(9), mlx5_eswitch_enabl...
mlx5_eswitch_enable(9)
NAME mlx5_eswitch_enable - Enable eswitch SYNOPSIS int mlx5_eswitch_enable (struct mlx5_eswitch *esw , int num_vfs ); ARGUMENTS esw Pointer to eswitch num_vfs Enable eswitch switch for given number of VFs. Caller must pass num_vfs > 0 when enabling eswitch for vf vports. mlx5_eswitch_enable retu...
mlx5_eswitch_enable_locked(9)
NAME mlx5_eswitch_enable_locked - Enable eswitch SYNOPSIS int mlx5_eswitch_enable_locked (struct mlx5_eswitch *esw , int num_vfs ); ARGUMENTS esw Pointer to eswitch num_vfs Enable eswitch for given number of VFs. This is optional. Valid value are 0, > 0 and MLX5_ESWITCH_IGNORE_NUM_VFS. Ca...
mlx5_eswitch_get_core_dev(9)
NAME mlx5_eswitch_get_core_dev - Get the mdev device SYNOPSIS struct mlx5_core_dev * mlx5_eswitch_get_core_dev (struct mlx5_eswitch *esw ); ARGUMENTS esw eswitch device. DESCRIPTION Return the mellanox core device which manages the eswitch. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/esw...
mlx5_eswitch_get_total_vports(9)
NAME mlx5_eswitch_get_total_vports - Get total vports of the eswitch SYNOPSIS u16 mlx5_eswitch_get_total_vports (const struct mlx5_core_dev *dev ); ARGUMENTS dev Pointer to core device DESCRIPTION mlx5_eswitch_get_total_vports returns total number of eswitch vports. SEE ALSO Kernel file ./drivers/net/ether...
mlx5_fc_local_create(9)
NAME mlx5_fc_local_create - Allocate mlx5_fc struct for a counter which was already acquired using its counter id and bulk data. SYNOPSIS struct mlx5_fc * mlx5_fc_local_create (u32 counter_id , u32 offset , u32 bulk_size ); ARGUMENTS counter_id counter acquired counter id offset counter offset from bulk...
mlx5_fpga_get_sbu_caps(9)
NAME mlx5_fpga_get_sbu_caps - Read the SBU capabilities SYNOPSIS int mlx5_fpga_get_sbu_caps (struct mlx5_fpga_device *fdev , int size , void *buf ); ARGUMENTS fdev The FPGA device size Size of the buffer to read into buf Buffer to read the capabilities into DESCRIPTION Reads the...
mlx5_fpga_mem_read(9)
NAME mlx5_fpga_mem_read - Read from FPGA memory address space SYNOPSIS int mlx5_fpga_mem_read (struct mlx5_fpga_device *fdev , size_t size , u64 addr , void *buf , enum mlx5_fpga_access_type access_type ); ARGUMENTS fdev The FPGA device size Size of chunk to read, in bytes addr St...
mlx5_fpga_mem_write(9)
NAME mlx5_fpga_mem_write - Write to FPGA memory address space SYNOPSIS int mlx5_fpga_mem_write (struct mlx5_fpga_device *fdev , size_t size , u64 addr , void *buf , enum mlx5_fpga_access_type access_type ); ARGUMENTS fdev The FPGA device size Size of chunk to write, in bytes addr ...
mlx5_fpga_sbu_conn_create(9)
NAME mlx5_fpga_sbu_conn_create - Initialize a new FPGA SBU connection SYNOPSIS struct mlx5_fpga_conn * mlx5_fpga_sbu_conn_create (struct mlx5_fpga_device *fdev , struct mlx5_fpga_conn_attr *attr ); ARGUMENTS fdev The FPGA device attr Attributes of the new connection DESCRIPTION Sets up a new F...
mlx5_fpga_sbu_conn_destroy(9)
NAME mlx5_fpga_sbu_conn_destroy - Destroy an FPGA SBU connection SYNOPSIS void mlx5_fpga_sbu_conn_destroy (struct mlx5_fpga_conn *conn ); ARGUMENTS conn The FPGA SBU connection to destroy DESCRIPTION Cleans up an FPGA SBU connection which was previously created with mlx5_fpga_sbu_conn_create. SEE ALSO Kernel...
mlx5_fpga_sbu_conn_sendmsg(9)
NAME mlx5_fpga_sbu_conn_sendmsg - Queue the transmission of a packet SYNOPSIS int mlx5_fpga_sbu_conn_sendmsg (struct mlx5_fpga_conn *conn , struct mlx5_fpga_dma_buf *buf ); ARGUMENTS conn An FPGA SBU connection buf The packet buffer DESCRIPTION Queues a packet for transmission over an FPGA SB...
mlx5_get_default_msix_vec_count(9)
NAME mlx5_get_default_msix_vec_count - Get the default number of MSI-X vectors to be assigned to each VF. SYNOPSIS int mlx5_get_default_msix_vec_count (struct mlx5_core_dev *dev , int num_vfs ); ARGUMENTS dev PF to work on num_vfs Number of enabled VFs SEE ALSO Kernel file ./drivers/net/ethernet/...
mlx5_ib_get_counters_id(9)
NAME mlx5_ib_get_counters_id - Returns counters id to use for device+port SYNOPSIS u16 mlx5_ib_get_counters_id (struct mlx5_ib_dev *dev , u32 port_num ); ARGUMENTS dev Pointer to mlx5 IB device port_num Zero based port number DESCRIPTION mlx5_ib_get_counters_id Returns counters set id to use for g...
mlx5_ib_read_user_wqe_common(9)
NAME mlx5_ib_read_user_wqe_common - Copy a WQE (or part of) from user WQ to kernel buffer SYNOPSIS int mlx5_ib_read_user_wqe_common (struct ib_umem *umem , void *buffer , size_t buflen , int wqe_index , int wq_offset , int wq_wqe_cnt , int wq_wqe_shift , int bcnt , size_t *bytes_copied ); ARGUMENTS umem User s...
mlx5_irq_affinity_request(9)
NAME mlx5_irq_affinity_request - request an IRQ according to the given mask. SYNOPSIS struct mlx5_irq * mlx5_irq_affinity_request (struct mlx5_core_dev *dev , struct mlx5_irq_pool *pool , struct irq_affinity_desc *af_desc ); ARGUMENTS dev mlx5 core device which is requesting the IRQ. pool IRQ p...
mlx5_irq_release_vector(9)
NAME mlx5_irq_release_vector - release one IRQ back to the system. SYNOPSIS void mlx5_irq_release_vector (struct mlx5_irq *irq ); ARGUMENTS irq the irq to release. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c mlx5_get_default_msix_vec_count(9), mlx5_set_msix_vec_count(9), mlx...
mlx5_irq_request(9)
NAME mlx5_irq_request - request an IRQ for mlx5 PF/VF device. SYNOPSIS struct mlx5_irq * mlx5_irq_request (struct mlx5_core_dev *dev , u16 vecidx , struct irq_affinity_desc *af_desc , struct cpu_rmap **rmap ); ARGUMENTS dev mlx5 device that requesting the IRQ. vecidx vector index of the IRQ. This...
mlx5_irq_request_vector(9)
NAME mlx5_irq_request_vector - request one IRQ for mlx5 device. SYNOPSIS struct mlx5_irq * mlx5_irq_request_vector (struct mlx5_core_dev *dev , u16 cpu , u16 vecidx , struct cpu_rmap **rmap ); ARGUMENTS dev mlx5 device that is requesting the IRQ. cpu CPU to bind the IRQ to. vecidx ...
mlx5_lag_set_port_affinity(9)
NAME mlx5_lag_set_port_affinity - SYNOPSIS void mlx5_lag_set_port_affinity (struct mlx5_lag *ldev , enum mlx5_lag_port_affinity port ); ARGUMENTS ldev lag device port 0 - set normal affinity. 1 - set affinity to port 1. 2 - set affinity to port 2. SEE ALSO Kernel file ./drivers/net/ethernet/m...
mlx5_set_msix_vec_count(9)
NAME mlx5_set_msix_vec_count - Set dynamically allocated MSI-X on the VF SYNOPSIS int mlx5_set_msix_vec_count (struct mlx5_core_dev *dev , int function_id , int msix_vec_count ); ARGUMENTS dev PF to work on function_id Internal PCI VF function IDd msix_vec_count Number of MS...
mlx5_sriov_blocking_notifier_register(9)
NAME mlx5_sriov_blocking_notifier_register - Register a VF notification block chain. SYNOPSIS int mlx5_sriov_blocking_notifier_register (struct mlx5_core_dev *mdev , int vf_id , struct notifier_block *nb ); ARGUMENTS mdev The mlx5 core device. vf_id The VF id. nb The notifier blo...
mlx5_sriov_blocking_notifier_unregister(9)
NAME mlx5_sriov_blocking_notifier_unregister - Unregister a VF from a notification block chain. SYNOPSIS void mlx5_sriov_blocking_notifier_unregister (struct mlx5_core_dev *mdev , int vf_id , struct notifier_block *nb ); ARGUMENTS mdev The mlx5 core device. vf_id The VF id. nb Th...
mlx5_vf_get_core_dev(9)
NAME mlx5_vf_get_core_dev - Get the mlx5 core device from a given VF PCI device if mlx5_core is its driver. SYNOPSIS struct mlx5_core_dev * mlx5_vf_get_core_dev (struct pci_dev *pdev ); ARGUMENTS pdev The associated PCI device. DESCRIPTION Upon return the interface state lock stay held to let caller uses ...
mlx5_vf_put_core_dev(9)
NAME mlx5_vf_put_core_dev - Put the mlx5 core device back. SYNOPSIS void mlx5_vf_put_core_dev (struct mlx5_core_dev *mdev ); ARGUMENTS mdev The mlx5 core device. DESCRIPTION Upon return the interface state lock is unlocked and caller should not access the mdev any more. SEE ALSO Kernel file ./drivers/net/eth...
mlx5dr_buddy_alloc_mem(9)
NAME mlx5dr_buddy_alloc_mem - Update second level bitmap. SYNOPSIS int mlx5dr_buddy_alloc_mem (struct mlx5dr_icm_buddy_mem *buddy , unsigned int order , unsigned int *segment ); ARGUMENTS buddy Buddy to update. order Order of the buddy to update. segment Segment number. DESCRIPTION Th...
mlx5dr_send_fill_and_append_ste_send_info(9)
NAME mlx5dr_send_fill_and_append_ste_send_info - Add data to be sent with send_list parameters: SYNOPSIS void mlx5dr_send_fill_and_append_ste_send_info (struct mlx5dr_ste *ste , u16 size , u16 offset , u8 *data , struct mlx5dr_ste_send_info *ste_info , struct list_head *send_list , bool copy_data ); ARGUMENTS ste ...
mlx5dr_send_postsend_ste(9)
NAME mlx5dr_send_postsend_ste - write size bytes into offset from the hw cm. SYNOPSIS int mlx5dr_send_postsend_ste (struct mlx5dr_domain *dmn , struct mlx5dr_ste *ste , u8 *data , u16 size , u16 offset ); ARGUMENTS dmn Domain ste The ste struct that contains the data (at least part of it) ...
mlx5e_tc_act_get(9)
NAME mlx5e_tc_act_get - Get an action parser for an action id. SYNOPSIS struct mlx5e_tc_act * mlx5e_tc_act_get (enum flow_action_id act_id , enum mlx5_flow_namespace_type ns_type ); ARGUMENTS act_id Flow action id. ns_type flow namespace type. SEE ALSO Kernel file ./drivers/net/ethernet/mellanox/mlx...
mlx5e_tc_act_init_parse_state(9)
NAME mlx5e_tc_act_init_parse_state - Init a new parse_state. SYNOPSIS void mlx5e_tc_act_init_parse_state (struct mlx5e_tc_act_parse_state *parse_state , struct mlx5e_tc_flow *flow , struct flow_action *flow_action , struct netlink_ext_ack *extack ); ARGUMENTS parse_state Parsing state. flow mlx5e tc fl...
mlx5hws_action_create_aso_meter(9)
NAME mlx5hws_action_create_aso_meter - Create direct rule ASO flow meter action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_aso_meter (struct mlx5hws_context *ctx , u32 obj_id , u8 return_reg_c , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. obj_id AS...
mlx5hws_action_create_counter(9)
NAME mlx5hws_action_create_counter - Create direct rule counter action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_counter (struct mlx5hws_context *ctx , u32 obj_id , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. obj_id Direct rule counter object ID. ...
mlx5hws_action_create_default_miss(9)
NAME mlx5hws_action_create_default_miss - Create a direct rule default miss action. Defaults are RX: Drop, TX: Wire. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_default_miss (struct mlx5hws_context *ctx , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. flags ...
mlx5hws_action_create_dest_array(9)
NAME mlx5hws_action_create_dest_array - Create a dest array action, this action can duplicate packets and forward to multiple destinations in the destination list. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_dest_array (struct mlx5hws_context *ctx , size_t num_dest , struct mlx5hws_action_dest_attr *dests ,...
mlx5hws_action_create_dest_drop(9)
NAME mlx5hws_action_create_dest_drop - Create a direct rule drop action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_dest_drop (struct mlx5hws_context *ctx , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. flags Action creation flags (enum mlx5hws_actio...
mlx5hws_action_create_dest_match_range(9)
NAME mlx5hws_action_create_dest_match_range - Create direct rule range match action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_dest_match_range (struct mlx5hws_context *ctx , u32 field , struct mlx5_flow_table *hit_ft , struct mlx5_flow_table *miss_ft , u32 min , u32 max , u32 flags ); ARGUMENTS ctx ...
mlx5hws_action_create_dest_table(9)
NAME mlx5hws_action_create_dest_table - Create direct rule goto table action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_dest_table (struct mlx5hws_context *ctx , struct mlx5hws_table *tbl , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. tbl Destina...
mlx5hws_action_create_dest_table_num(9)
NAME mlx5hws_action_create_dest_table_num - Create direct rule goto table number action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_dest_table_num (struct mlx5hws_context *ctx , u32 tbl_num , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. tbl_num Destin...
mlx5hws_action_create_dest_vport(9)
NAME mlx5hws_action_create_dest_vport - Create direct rule goto vport action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_dest_vport (struct mlx5hws_context *ctx , u16 vport_num , bool vhca_id_valid , u16 vhca_id , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. ...
mlx5hws_action_create_flow_sampler(9)
NAME mlx5hws_action_create_flow_sampler - Create direct rule flow sampler action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_flow_sampler (struct mlx5hws_context *ctx , u32 sampler_id , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. sampler_id Flow sampler...
mlx5hws_action_create_insert_header(9)
NAME mlx5hws_action_create_insert_header - Create insert header action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_insert_header (struct mlx5hws_context *ctx , u8 num_of_hdrs , struct mlx5hws_action_insert_header *hdrs , u32 log_bulk_size , u32 flags ); ARGUMENTS ctx The context in which the new a...
mlx5hws_action_create_last(9)
NAME mlx5hws_action_create_last - Create direct rule LAST action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_last (struct mlx5hws_context *ctx , u32 flags ); ARGUMENTS ctx The context in which the new action will be created. flags Action creation flags. (enum mlx5hws_action_flags) R...
mlx5hws_action_create_modify_header(9)
NAME mlx5hws_action_create_modify_header - Create direct rule modify header action. SYNOPSIS struct mlx5hws_action * mlx5hws_action_create_modify_header (struct mlx5hws_context *ctx , u8 num_of_patterns , struct mlx5hws_action_mh_pattern *patterns , u32 log_bulk_size , u32 flags ); ARGUMENTS ctx The context i...