2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

dpif-netdev: Show netdev offloading flags.

This patch modifies netdev_get_status to include information about
checksum offload status by port, allowing the user to gain insight into
where checksum offloading is active.

Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Co-authored-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Mike Pattrick <mkp@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
Mike Pattrick
2023-06-14 15:03:25 -04:00
committed by Ilya Maximets
parent 22df63c384
commit 4433cc6860
3 changed files with 44 additions and 8 deletions

View File

@@ -1747,11 +1747,6 @@ netdev_dpdk_get_config(const struct netdev *netdev, struct smap *args)
} else {
smap_add(args, "rx_csum_offload", "false");
}
if (dev->hw_ol_features & NETDEV_TX_TSO_OFFLOAD) {
smap_add(args, "tx_tso_offload", "true");
} else {
smap_add(args, "tx_tso_offload", "false");
}
smap_add(args, "lsc_interrupt_mode",
dev->lsc_interrupt_mode ? "true" : "false");