net/qede/base: add LLDP support
[dpdk.git] / drivers / net / sfc / sfc_dp.c
index b52b2ee..860aa92 100644 (file)
@@ -87,7 +87,9 @@ sfc_dp_register(struct sfc_dp_list *head, struct sfc_dp *entry)
        if (sfc_dp_find_by_name(head, entry->type, entry->name) != NULL) {
                rte_log(RTE_LOG_ERR, RTE_LOGTYPE_PMD,
                        "sfc %s dapapath '%s' already registered\n",
-                       entry->type == SFC_DP_RX ? "Rx" : "unknown",
+                       entry->type == SFC_DP_RX ? "Rx" :
+                       entry->type == SFC_DP_TX ? "Tx" :
+                       "unknown",
                        entry->name);
                return EEXIST;
        }