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 |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
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
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 --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,
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(+)