diff mbox series

[ethtool-next,1/2] ethtool: uapi update for RX_PUSH ringparam attribute

Message ID 20230213203008.2321-2-shannon.nelson@amd.com (mailing list archive)
State Superseded
Delegated to: Michal Kubecek
Headers show
Series ethtool: add rx-push ringparam | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Nelson, Shannon Feb. 13, 2023, 8:30 p.m. UTC
Adds the new uapi ETHTOOL_A_RINGS_RX_PUSH attribute as found in the
next-next commit
5b4e9a7a71ab ("net: ethtool: extend ringparam set/get APIs for rx_push")

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
---
 uapi/linux/ethtool_netlink.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Michal Kubecek Feb. 15, 2023, 10:48 a.m. UTC | #1
On Mon, Feb 13, 2023 at 12:30:07PM -0800, Shannon Nelson wrote:
> Adds the new uapi ETHTOOL_A_RINGS_RX_PUSH attribute as found in the
> next-next commit
> 5b4e9a7a71ab ("net: ethtool: extend ringparam set/get APIs for rx_push")
> 
> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
> ---
>  uapi/linux/ethtool_netlink.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/uapi/linux/ethtool_netlink.h b/uapi/linux/ethtool_netlink.h
> index 4cf91e5..13493c9 100644
> --- a/uapi/linux/ethtool_netlink.h
> +++ b/uapi/linux/ethtool_netlink.h
> @@ -356,6 +356,7 @@ enum {
>  	ETHTOOL_A_RINGS_TCP_DATA_SPLIT,			/* u8 */
>  	ETHTOOL_A_RINGS_CQE_SIZE,			/* u32 */
>  	ETHTOOL_A_RINGS_TX_PUSH,			/* u8 */
> +	ETHTOOL_A_RINGS_RX_PUSH,			/* u8 */
>  
>  	/* add new constants above here */
>  	__ETHTOOL_A_RINGS_CNT,

I replaced this patch with a full update from current net-next head
(kernel commit 1ed32ad4a3cb), next time please follow the guidelines at

  https://mirrors.edge.kernel.org/pub/software/network/ethtool/devel.html

(third paragraph in section "Submitting patches").

Michal
Nelson, Shannon Feb. 15, 2023, 4:12 p.m. UTC | #2
On 2/15/23 2:48 AM, Michal Kubecek wrote:
 >On Mon, Feb 13, 2023 at 12:30:07PM -0800, Shannon Nelson wrote:
 >> Adds the new uapi ETHTOOL_A_RINGS_RX_PUSH attribute as found in the
 >> next-next commit
 >> 5b4e9a7a71ab ("net: ethtool: extend ringparam set/get APIs for rx_push")
 >>
 >> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
 >> ---
 >>  uapi/linux/ethtool_netlink.h | 1 +
 >>  1 file changed, 1 insertion(+)
 >>
 >> diff --git a/uapi/linux/ethtool_netlink.h b/uapi/linux/ethtool_netlink.h
 >> index 4cf91e5..13493c9 100644
 >> --- a/uapi/linux/ethtool_netlink.h
 >> +++ b/uapi/linux/ethtool_netlink.h
 >> @@ -356,6 +356,7 @@ enum {
 >>  	ETHTOOL_A_RINGS_TCP_DATA_SPLIT,			/* u8 */
 >>  	ETHTOOL_A_RINGS_CQE_SIZE,			/* u32 */
 >>  	ETHTOOL_A_RINGS_TX_PUSH,			/* u8 */
 >> +	ETHTOOL_A_RINGS_RX_PUSH,			/* u8 */
 >>
 >>  	/* add new constants above here */
 >>  	__ETHTOOL_A_RINGS_CNT,
 >
 >I replaced this patch with a full update from current net-next head
 >(kernel commit 1ed32ad4a3cb), next time please follow the guidelines at
 >
 >  https://mirrors.edge.kernel.org/pub/software/network/ethtool/devel.html
 >
 >(third paragraph in section "Submitting patches").
 >
 >Michal

Thanks - somehow I didn't stumble across that page so wasn't sure of the 
process.  I'll check it next time.

Cheers,
sln
diff mbox series

Patch

diff --git a/uapi/linux/ethtool_netlink.h b/uapi/linux/ethtool_netlink.h
index 4cf91e5..13493c9 100644
--- a/uapi/linux/ethtool_netlink.h
+++ b/uapi/linux/ethtool_netlink.h
@@ -356,6 +356,7 @@  enum {
 	ETHTOOL_A_RINGS_TCP_DATA_SPLIT,			/* u8 */
 	ETHTOOL_A_RINGS_CQE_SIZE,			/* u32 */
 	ETHTOOL_A_RINGS_TX_PUSH,			/* u8 */
+	ETHTOOL_A_RINGS_RX_PUSH,			/* u8 */
 
 	/* add new constants above here */
 	__ETHTOOL_A_RINGS_CNT,