net/ring: set ethernet device field
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 15:25:10 +0000 (16:25 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 15:27:43 +0000 (16:27 +0100)
commita6992e9610503a97b431290769e48c89af6c6fec
treeac8b575c934016a1cc46f2c8c49c96565225e449
parent8c210571851a5436240a5e5a92876853a271ab94
net/ring: set ethernet device field

The eth_dev->device link was missing for ring PMD, adding it.

This is to generalize rte_device access from eth_dev.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/ring/rte_eth_ring.c