-by: Heng Qi
Thanks.
---
Changes from v8:
- move max table macro out of uAPI
Changes from v7:
- use table lookup for rss hash type
Changes from v6:
- fix a coding style issue
Changes from v5:
- Preservation of the hash value has been dropped, following the conclusion
from discussions
在 2024/4/16 下午2:19, Liang Chen 写道:
The RSS hash report is a feature that's part of the virtio specification.
Currently, virtio backends like qemu, vdpa (mlx5), and potentially vhost
(still a work in progress as per [1]) support this feature. While the
capability to obtain the RSS hash has
vp_modern_config_vector(mdev, msix_vec);
vp_vdpa->config_irq = irq;
return 0;
Reviewed-by: Heng Qi
:
* Got some good feedback from and Xuan Zhuo and Heng Qi, and reworked
the rejection path.
---
drivers/net/virtio_net.c | 22 ++
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index c22d1118
el.org
Cc: qemu-de...@nongnu.org
Signed-off-by: Breno Leitao
---
Changelog:
V2:
* Moved from creating a valid packet, by rejecting the request
completely
V3:
* Got some good feedback from and Xuan Zhuo and Heng Qi, and reworked
the rejection path.
---
drivers/net/virtio_net.c |
her has_rss or
has_rss_hash_report is available, but, it should only be set if has_rss
is set.
On the virtnet_set_rxfh(), return an invalid command if the request has
indirection table set, but virtnet does not support RSS.
Suggested-by: Heng Qi
Signed-off-by: Breno Leitao
---
drivers/
ems to work better.
Or squash them into one patch.
Apart from these and Xuan's comments.
For series:
Reviewed-by: Heng Qi
Regards,
Heng
if (rxfh->hfunc != ETH_RSS_HASH_NO_CHANGE &&
rxfh->hfunc != ETH_RSS_HASH_TOP)
return -EOPNOTSUPP;
_indirection_table_length));
+ }
+
+ if (vi->has_rss || vi->has_rss_hash_report) {
vi->rss_key_size =
virtio_cread8(vdev, offsetof(struct
virtio_net_config, rss_max_key_size));
Regards,
Heng
@Heng Qi
Could you help us?
Thanks.
if (
在 2024/3/15 上午2:49, Jakub Kicinski 写道:
On Thu, 14 Mar 2024 21:09:31 +0800 Heng Qi wrote:
The NetDIM library provides excellent acceleration for many modern
network cards. However, the default profiles of DIM limits its maximum
capabilities for different NICs, so providing a channel through
ponse:
"Profile is default and not customized by the device."
Signed-off-by: Heng Qi
---
Documentation/ABI/testing/sysfs-class-net | 17 +++
include/linux/dim.h | 7 ++
include/linux/netdevice.h | 35 ++
lib/dim/net_dim.c
The NetDIM library provides excellent acceleration for many modern
network cards. However, the default profiles of DIM limits its maximum
capabilities for different NICs, so providing a channel through which
the NIC can be custom configured is necessary.
Please review, thank you very much!
Heng
Virtio-net has different types of back-end device
implementations. In order to effectively optimize
the dim library's gains for different device
implementations, let's use the interface provided
by net-sysfs to fine-tune the profile list.
Signed-off-by: Heng Qi
---
drivers/net/virtio_net.c | 64
在 2024/1/24 下午4:57, Liang Chen 写道:
For the XDP_PASS scenario of the XDP path, the skb constructed with
xdp_buff does not include the virtio header. Adding the virtio header
information back when creating the skb.
Signed-off-by: Liang Chen
---
drivers/net/virtio_net.c | 6 ++
1 file
Hi Liang Chen,
在 2024/1/22 下午6:22, Liang Chen 写道:
The RSS hash report is a feature that's part of the virtio specification.
Currently, virtio backends like qemu, vdpa (mlx5), and potentially vhost
(still a work in progress as per [1]) support this feature. While the
capability to obtain the RSS
14 matches
Mail list logo