[dpdk-dev] [PATCH 1/2] net/i40e: add func to check link speed

2016-09-12 Thread Yuanhan Liu
On Mon, Sep 12, 2016 at 03:43:53AM +0800, Zhang Qi wrote: > Add a help function to check link speed by device ID. > Replace macro "i40e_is_40G_device" with the new function. > > Signed-off-by: Zhang Qi Hi, FYI, my testrobot caught some warnings whlie applying this patch --yliu ---

[dpdk-dev] [PATCH 1/2] net/i40e: add func to check link speed

2016-09-12 Thread Zhang Qi
Add a help function to check link speed by device ID. Replace macro "i40e_is_40G_device" with the new function. Signed-off-by: Zhang Qi --- drivers/net/i40e/i40e_ethdev.c | 19 --- drivers/net/i40e/i40e_ethdev.h | 42 ++ 2 files changed,