2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00

netdev-dpdk: Show Rx checksum status when false.

Currently ovs-appctl dpctl/show only shows the Rx checksum offload
status when true. Change to also show the status when false.

CC: Sugesh Chandran <sugesh.chandran@intel.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Kevin Traynor
2017-06-08 18:12:20 +01:00
committed by Ben Pfaff
parent 813f5f0ace
commit 8155ab7e63

View File

@@ -1113,6 +1113,8 @@ netdev_dpdk_get_config(const struct netdev *netdev, struct smap *args)
dev->txq_size);
if (dev->hw_ol_features & NETDEV_RX_CHECKSUM_OFFLOAD) {
smap_add(args, "rx_csum_offload", "true");
} else {
smap_add(args, "rx_csum_offload", "false");
}
}
ovs_mutex_unlock(&dev->mutex);