[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.63.1.el8_10.x86_64
/
include
/
rdma
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 ib.h
2,138 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_addr.h
7,308 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_cache.h
4,329 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_cm.h
17,133 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_hdrs.h
6,988 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_mad.h
25,064 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_marshall.h
778 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_pack.h
8,082 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_pma.h
4,268 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_sa.h
19,997 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_smi.h
4,600 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_sysfs.h
1,257 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_umem.h
4,367 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_umem_odp.h
4,787 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_verbs.h
143,465 B
SET
[ EDIT ]
|
[ DEL ]
📄 iba.h
5,642 B
SET
[ EDIT ]
|
[ DEL ]
📄 ibta_vol1_c12.h
13,251 B
SET
[ EDIT ]
|
[ DEL ]
📄 iw_cm.h
7,294 B
SET
[ EDIT ]
|
[ DEL ]
📄 iw_portmap.h
2,244 B
SET
[ EDIT ]
|
[ DEL ]
📄 lag.h
530 B
SET
[ EDIT ]
|
[ DEL ]
📄 mr_pool.h
975 B
SET
[ EDIT ]
|
[ DEL ]
📄 opa_addr.h
2,452 B
SET
[ EDIT ]
|
[ DEL ]
📄 opa_port_info.h
13,751 B
SET
[ EDIT ]
|
[ DEL ]
📄 opa_smi.h
3,074 B
SET
[ EDIT ]
|
[ DEL ]
📄 opa_vnic.h
2,034 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_cm.h
13,438 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_cm_ib.h
797 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_counter.h
1,920 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_netlink.h
4,062 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_vt.h
14,561 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdmavt_cq.h
1,783 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdmavt_mr.h
4,038 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdmavt_qp.h
28,687 B
SET
[ EDIT ]
|
[ DEL ]
📄 restrack.h
4,304 B
SET
[ EDIT ]
|
[ DEL ]
📄 rw.h
2,682 B
SET
[ EDIT ]
|
[ DEL ]
📄 signature.h
2,969 B
SET
[ EDIT ]
|
[ DEL ]
📄 tid_rdma_defs.h
2,100 B
SET
[ EDIT ]
|
[ DEL ]
📄 uverbs_ioctl.h
33,079 B
SET
[ EDIT ]
|
[ DEL ]
📄 uverbs_named_ioctl.h
4,836 B
SET
[ EDIT ]
|
[ DEL ]
📄 uverbs_std_types.h
5,355 B
SET
[ EDIT ]
|
[ DEL ]
📄 uverbs_types.h
6,210 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: opa_vnic.h
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* * Copyright(c) 2017 - 2020 Intel Corporation. */ #ifndef _OPA_VNIC_H #define _OPA_VNIC_H /* * This file contains Intel Omni-Path (OPA) Virtual Network Interface * Controller (VNIC) specific declarations. */ #include <rdma/ib_verbs.h> /* 16 header bytes + 2 reserved bytes */ #define OPA_VNIC_L2_HDR_LEN (16 + 2) #define OPA_VNIC_L4_HDR_LEN 2 #define OPA_VNIC_HDR_LEN (OPA_VNIC_L2_HDR_LEN + \ OPA_VNIC_L4_HDR_LEN) #define OPA_VNIC_L4_ETHR 0x78 #define OPA_VNIC_ICRC_LEN 4 #define OPA_VNIC_TAIL_LEN 1 #define OPA_VNIC_ICRC_TAIL_LEN (OPA_VNIC_ICRC_LEN + OPA_VNIC_TAIL_LEN) #define OPA_VNIC_SKB_MDATA_LEN 4 #define OPA_VNIC_SKB_MDATA_ENCAP_ERR 0x1 /* opa vnic rdma netdev's private data structure */ struct opa_vnic_rdma_netdev { struct rdma_netdev rn; /* keep this first */ /* followed by device private data */ char *dev_priv[]; }; static inline void *opa_vnic_priv(const struct net_device *dev) { struct rdma_netdev *rn = netdev_priv(dev); return rn->clnt_priv; } static inline void *opa_vnic_dev_priv(const struct net_device *dev) { struct opa_vnic_rdma_netdev *oparn = netdev_priv(dev); return oparn->dev_priv; } /* opa_vnic skb meta data structure */ struct opa_vnic_skb_mdata { u8 vl; u8 entropy; u8 flags; u8 rsvd; } __packed; /* OPA VNIC group statistics */ struct opa_vnic_grp_stats { u64 unicast; u64 mcastbcast; u64 untagged; u64 vlan; u64 s_64; u64 s_65_127; u64 s_128_255; u64 s_256_511; u64 s_512_1023; u64 s_1024_1518; u64 s_1519_max; }; struct opa_vnic_stats { /* standard netdev statistics */ struct rtnl_link_stats64 netstats; /* OPA VNIC statistics */ struct opa_vnic_grp_stats tx_grp; struct opa_vnic_grp_stats rx_grp; u64 tx_dlid_zero; u64 tx_drop_state; u64 rx_drop_state; u64 rx_runt; u64 rx_oversize; }; static inline bool rdma_cap_opa_vnic(struct ib_device *device) { return !!(device->attrs.kernel_cap_flags & IBK_RDMA_NETDEV_OPA); } #endif /* _OPA_VNIC_H */