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
@@ -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);
