Re: [dpdk-dev] [RFC v2] ethdev: add IF-MIB attributes implementation

2017-07-14 Thread Thomas Monjalon
14/07/2017 02:07, Stephen Hemminger: > On Thu, 13 Jul 2017 17:24:27 +0100 > Reshma Pattan wrote: > > > diff --git a/lib/librte_ether/rte_ethdev_pci.h > > b/lib/librte_ether/rte_ethdev_pci.h > > index 69aab03..f829407 100644 > > --- a/lib/librte_ether/rte_ethdev_pci.h > > +++ b/lib/librte_ether/r

Re: [dpdk-dev] [RFC v2] ethdev: add IF-MIB attributes implementation

2017-07-13 Thread Stephen Hemminger
On Thu, 13 Jul 2017 17:24:27 +0100 Reshma Pattan wrote: > diff --git a/lib/librte_ether/rte_ethdev_pci.h > b/lib/librte_ether/rte_ethdev_pci.h > index 69aab03..f829407 100644 > --- a/lib/librte_ether/rte_ethdev_pci.h > +++ b/lib/librte_ether/rte_ethdev_pci.h > @@ -37,6 +37,7 @@ > #include > #

[dpdk-dev] [RFC v2] ethdev: add IF-MIB attributes implementation

2017-07-13 Thread Reshma Pattan
The RFC shows implementation of IF-MIB attributes in ethdev layer. These attributes are implemented from the information available from rte_eth_dev_data struct. The new APIs are added, to allow applications to trigger IF-MIB attribute initialization and the implementation based on the port id. IF-