[dpdk-dev] [PATCH v6 1/5] ethdev: Added ETH_SPEED_CAP bitmap for ports

2015-11-19 Thread Marc Sune
Hi Thomas, 2015-11-01 23:11 GMT+01:00 Thomas Monjalon : > 2015-10-25 22:59, Marc Sune: > > +#define ETH_SPEED_CAP_NOT_PHY(0) /*< No phy media > */ > > +#define ETH_SPEED_CAP_10M_HD (1 << 0) /*< 10 Mbps half-duplex> */ > > +#define ETH_SPEED_CAP_10M_FD (1 << 1) /*< 10 Mbps full-duplex>

[dpdk-dev] [PATCH v6 1/5] ethdev: Added ETH_SPEED_CAP bitmap for ports

2015-11-01 Thread Thomas Monjalon
2015-10-25 22:59, Marc Sune: > +#define ETH_SPEED_CAP_NOT_PHY(0) /*< No phy media > */ > +#define ETH_SPEED_CAP_10M_HD (1 << 0) /*< 10 Mbps half-duplex> */ > +#define ETH_SPEED_CAP_10M_FD (1 << 1) /*< 10 Mbps full-duplex> */ > +#define ETH_SPEED_CAP_100M_HD(1 << 2) /*< 100 Mbps

[dpdk-dev] [PATCH v6 1/5] ethdev: Added ETH_SPEED_CAP bitmap for ports

2015-10-25 Thread Marc Sune
Added constants and bitmap to struct rte_eth_dev_info to be used by PMDs. Signed-off-by: Marc Sune --- lib/librte_ether/rte_ethdev.h | 24 1 file changed, 24 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 8a8c82b..951a423