[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221103113348.17378-3-pranavi.somisetty@amd.com>
Date: Thu, 3 Nov 2022 05:33:48 -0600
From: Pranavi Somisetty <pranavi.somisetty@....com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>
CC: <git@....com>, <pranavi.somisetty@....com>,
<harini.katakam@....com>, <radhey.shyam.pandey@....com>,
<michal.simek@....com>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>
Subject: [RFC PATCH net-next 2/2] include: uapi: Add Frame preemption parameters
Adds a header file for Frame preemption parameters.
Signed-off-by: Pranavi Somisetty <pranavi.somisetty@....com>
---
include/uapi/linux/preemption_8023br.h | 30 ++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 include/uapi/linux/preemption_8023br.h
diff --git a/include/uapi/linux/preemption_8023br.h b/include/uapi/linux/preemption_8023br.h
new file mode 100644
index 000000000000..762fe4dd1906
--- /dev/null
+++ b/include/uapi/linux/preemption_8023br.h
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
+#ifndef PREEMPTION_H
+#define PREEMPTION_H
+/*
+ * IEEE 802.3br - Frame Preemption header
+ */
+
+/**
+ * struct preempt_ctrl_sts: Preemption configuration and status.
+ * @version: version for backward compatibility
+ * @preemp_sup: Preemption capable
+ * @preemp_enabled: Preemption enabled
+ * @tx_preemp_sts: TX Preemption Status
+ * @mac_tx_verify_sts: MAC Merge TX Verify Status
+ * @verify_timer_value: Verify Timer Value
+ * @additional_frag_size: Additional Fragment Size
+ * @disable_preemp_verify: Disable Preemption Verification
+ */
+struct preempt_ctrl_sts {
+ unsigned int version;
+ unsigned int preemp_sup;
+ unsigned int preemp_en;
+ unsigned int tx_preemp_sts;
+ unsigned int mac_tx_verify_sts;
+ unsigned int verify_timer_value;
+ unsigned int additional_frag_size;
+ unsigned int disable_preemp_verify;
+};
+#endif
+
--
2.36.1
Powered by blists - more mailing lists