]> git.proxmox.com Git - ovs.git/commitdiff
netdev-dpdk: Log Rx checksum offload not supported.
authorKevin Traynor <ktraynor@redhat.com>
Mon, 26 Jun 2017 21:51:51 +0000 (22:51 +0100)
committerBen Pfaff <blp@ovn.org>
Wed, 12 Jul 2017 05:09:22 +0000 (22:09 -0700)
Rx checksum offload is enabled by default on DPDK NICs where
supported. Previously Rx checksum offload not supported was
logged only once. It meant that if multiple NICs did not
support Rx checksum offload, it was only reported for the
first NIC configured.

Fixes: 1a2bb11817a4 ("netdev-dpdk: Enable Rx checksum offloading feature on DPDK physical ports.")
Reported-by: Darrell Ball <dlu998@gmail.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/netdev-dpdk.c

index 5caf913705b23321189c19bd84f4f59331831474..ea17b97e72218dd874ebb0e0dc5672dbef5f5ffc 100644 (file)
@@ -744,7 +744,7 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev)
 
     if ((info.rx_offload_capa & rx_chksm_offload_capa) !=
             rx_chksm_offload_capa) {
-        VLOG_WARN_ONCE("Rx checksum offload is not supported on device %"PRIu8,
+        VLOG_WARN("Rx checksum offload is not supported on port %"PRIu8,
                         dev->port_id);
         dev->hw_ol_features &= ~NETDEV_RX_CHECKSUM_OFFLOAD;
     } else {