netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Why is set_config not supported in mlx5_vnet?
@ 2024-08-23 16:54 Carlos Bilbao
  2024-08-26  1:48 ` Andrew Lunn
  2024-08-26  9:06 ` Dragos Tatulea
  0 siblings, 2 replies; 15+ messages in thread
From: Carlos Bilbao @ 2024-08-23 16:54 UTC (permalink / raw)
  To: eli, mst, jasowang, xuanzhuo, dtatulea
  Cc: virtualization, netdev, linux-kernel, mst, kvm, eperezma, sashal,
	yuehaibing, steven.sistare

Hello,

I'm debugging my vDPA setup, and when using ioctl to retrieve the
configuration, I noticed that it's running in half duplex mode:

Configuration data (24 bytes):
  MAC address: (Mac address)
  Status: 0x0001
  Max virtqueue pairs: 8
  MTU: 1500
  Speed: 0 Mb
  Duplex: Half Duplex
  RSS max key size: 0
  RSS max indirection table length: 0
  Supported hash types: 0x00000000

I believe this might be contributing to the underperformance of vDPA. While
looking into how to change this option for Mellanox, I read the following
kernel code in mlx5_vnet.c:

static void mlx5_vdpa_set_config(struct vdpa_device *vdev, unsigned int offset, const void *buf,
                 unsigned int len)
{
    /* not supported */
}

I was wondering why this is the case. Is there another way for me to change
these configuration settings?

Thank you in advance,
Carlos


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-08-28 17:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 16:54 [RFC] Why is set_config not supported in mlx5_vnet? Carlos Bilbao
2024-08-26  1:48 ` Andrew Lunn
2024-08-26  9:06 ` Dragos Tatulea
2024-08-26 14:24   ` Andrew Lunn
2024-08-26 16:10     ` Dragos Tatulea
2024-08-27  2:03       ` Jason Wang
2024-08-27 16:54         ` Dragos Tatulea
2024-08-28  1:52           ` Jason Wang
2024-08-28 17:28           ` Carlos Bilbao
2024-08-26 14:26   ` Carlos Bilbao
2024-08-26 15:53     ` Dragos Tatulea
2024-08-26 19:22       ` Carlos Bilbao
2024-08-27  2:07         ` Jason Wang
2024-08-27 17:36           ` Carlos Bilbao
2024-08-28 15:16           ` Carlos Bilbao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).