[dpdk-dev] [PATCH 1/7] lib/librte_ether: Add 2/2.5/25/50Gbps link speeds

Simon Kågström simon.kagstrom at netinsight.net
Thu Mar 3 11:22:49 CET 2016


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



More information about the dev mailing list