403Webshell
Server IP : 45.33.98.47  /  Your IP : 216.73.217.106
Web Server : Apache/2.4.66 (Debian)
System : Linux 8783c923f53b 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/include/misc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/include/misc/mrvl_cn10k_dpi.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * Marvell Octeon CN10K DPI driver
 *
 * Copyright (C) 2024 Marvell.
 *
 */

#ifndef __MRVL_CN10K_DPI_H__
#define __MRVL_CN10K_DPI_H__

#include <linux/types.h>

#define DPI_MAX_ENGINES 6

struct dpi_mps_mrrs_cfg {
	__u16 max_read_req_sz; /* Max read request size */
	__u16 max_payload_sz;  /* Max payload size */
	__u16 port; /* Ebus port */
	__u16 reserved; /* Reserved */
};

struct dpi_engine_cfg {
	__u64 fifo_mask; /* FIFO size mask in KBytes */
	__u16 molr[DPI_MAX_ENGINES]; /* Max outstanding load requests */
	__u16 update_molr; /* '1' to update engine MOLR */
	__u16 reserved; /* Reserved */
};

/* DPI ioctl numbers */
#define DPI_MAGIC_NUM	0xB8

/* Set MPS & MRRS parameters */
#define DPI_MPS_MRRS_CFG _IOW(DPI_MAGIC_NUM, 1, struct dpi_mps_mrrs_cfg)

/* Set Engine FIFO configuration */
#define DPI_ENGINE_CFG   _IOW(DPI_MAGIC_NUM, 2, struct dpi_engine_cfg)

#endif /* __MRVL_CN10K_DPI_H__ */

Youez - 2016 - github.com/yon3zu
LinuXploit