[PATCH V5 net-next] net: mana: Assigning IRQ affinity on HT cores

2023-12-08 Thread Souradeep Chakrabarti
Existing MANA design assigns IRQ to every CPU, including sibling hyper-threads. This may cause multiple IRQs to be active simultaneously in the same core and may reduce the network performance with RSS. Improve the performance by assigning IRQ to non sibling CPUs in local NUMA node. The performanc

RE: [PATCH net-next v5 1/3] ethtool: Implement ethtool_puts()

2023-12-08 Thread Madhuri.Sripada
> Use strscpy() to implement ethtool_puts(). > > Functionally the same as ethtool_sprintf() when it's used with two arguments > or with just "%s" format specifier. > > Signed-off-by: Justin Stitt Reviewed-by: Madhuri Sripada

Re: [PATCH v1 1/3] x86/tdx: Check for TDX partitioning during early TDX init

2023-12-08 Thread Huang, Kai
On Thu, 2023-12-07 at 20:35 +0100, Jeremi Piotrowski wrote: > On 07/12/2023 18:21, Jeremi Piotrowski wrote: > > On 07/12/2023 13:58, Huang, Kai wrote: > > > > > > > > That's how it currently works - all the enlightenments are in > > > > hypervisor/paravisor > > > > specific code in arch/x86/hyper

Re: [PATCH net-next v5 0/3] ethtool: Add ethtool_puts()

2023-12-08 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by David S. Miller : On Wed, 06 Dec 2023 23:16:09 + you wrote: > Hi, > > This series aims to implement ethtool_puts() and send out a wave 1 of > conversions from ethtool_sprintf(). There's also a checkpatch patch > included to chec

RE: [PATCH net-next v5 3/3] net: Convert some ethtool_sprintf() to ethtool_puts()

2023-12-08 Thread Divya.Koppera
> This patch converts some basic cases of ethtool_sprintf() to ethtool_puts(). > > The conversions are used in cases where ethtool_sprintf() was being used with > just two arguments: > | ethtool_sprintf(&data, buffer[i].name); > or when it's used with format string: "%s" > | ethtool_sp

[PATCH] net: mana: add msix index sharing between EQs

2023-12-08 Thread Konstantin Taranov
From: Konstantin Taranov This patch allows to assign and poll more than 1 EQ on the same msix index. It is achieved by introducing a list of attached EQs in each IRQ context. This patch export symbols for creating EQs from other MANA kernel modules. Signed-off-by: Konstantin Taranov --- .../ne

Re: [PATCH v1 1/3] x86/tdx: Check for TDX partitioning during early TDX init

2023-12-08 Thread Jeremi Piotrowski
On 07/12/2023 18:36, Reshetova, Elena wrote: The TDVMCALLs are related to the I/O path (networking/block io) into the L2 >> guest, and so they intentionally go straight to L0 and are never injected to L1. L1 is not involved in that path at all. Using something differe

Re: [PATCH V5 net-next] net: mana: Assigning IRQ affinity on HT cores

2023-12-08 Thread Yury Norov
On Fri, Dec 08, 2023 at 02:02:34AM -0800, Souradeep Chakrabarti wrote: > Existing MANA design assigns IRQ to every CPU, including sibling > hyper-threads. This may cause multiple IRQs to be active simultaneously > in the same core and may reduce the network performance with RSS. Can you add an IRQ

Re: [PATCH v2 14/35] PCI: hv: switch hv_get_dom_num() to use atomic find_bit()

2023-12-08 Thread Yury Norov
On Mon, Dec 04, 2023 at 01:14:27PM -0600, Bjorn Helgaas wrote: > On Sun, Dec 03, 2023 at 11:32:46AM -0800, Yury Norov wrote: > > The function traverses bitmap with for_each_clear_bit() just to allocate > > a bit atomically. We can do it better with a dedicated find_and_set_bit(). > > No objection

Re: [PATCH V5 net-next] net: mana: Assigning IRQ affinity on HT cores

2023-12-08 Thread Yury Norov
Few more nits On Fri, Dec 08, 2023 at 06:03:40AM -0800, Yury Norov wrote: > On Fri, Dec 08, 2023 at 02:02:34AM -0800, Souradeep Chakrabarti wrote: > > Existing MANA design assigns IRQ to every CPU, including sibling > > hyper-threads. This may cause multiple IRQs to be active simultaneously > > in