On 2016-03-03 10:28, Thomas Monjalon wrote: > 2016-03-03 08:53, Simon K?gstr?m:
>> I realize this is a more general question, but is it really meaningful >> to have macros for all possible link speeds? We're working on a PMD >> driver with a channelized interface exposed as DPDK ports. Each channel >> can be configured with an arbitrary speed, so e.g., 1337 Mbps is also >> possible. > > What is the benefit? Why not negotiate the maximum capability of the peer? Communication is channelized over a backplane, and each channel has a specific (and configurable) capacity. >> To me, it would seem more natural to just have a number in mbits for the >> link speed. > > Please jump in the thread initiated by Marc Sune months ago. OK. I haven't been following the DPDK mailing list for a while, so I wasn't aware of this. // Simon