pcap: save if_index of the bound device
[dpdk.git] / lib / librte_pmd_ring / rte_eth_ring.c
index fa3ff72..1fed8d3 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
@@ -384,6 +384,8 @@ rte_eth_ring_pair_attach(const char *name, const unsigned numa_node)
 int
 rte_pmd_ring_init(const char *name, const char *params)
 {
+       RTE_LOG(INFO, PMD, "Initializing pmd_ring for %s\n", name);
+
        if (params == NULL)
                eth_dev_ring_create(name, rte_socket_id(), DEV_CREATE);
        else {