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:
committed by
Ilya Maximets
parent
22df63c384
commit
4433cc6860
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user