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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user