[dpdk-dev] [PATCH v3] net/ixgbe:fix max packet length in ixgbevf

Ferruh Yigit ferruh.yigit at intel.com
Wed Jan 25 15:40:30 CET 2017


On 1/25/2017 1:42 AM, Dai, Wei wrote:
>> -----Original Message-----
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Dai, Wei
>> Sent: Wednesday, January 25, 2017 9:40 AM
>> To: Yuanhan Liu <yuanhan.liu at linux.intel.com>; Yi Zhang
>> <zhang.yi75 at zte.com.cn>
>> Cc: Zhang, Helin <helin.zhang at intel.com>; Ananyev, Konstantin
>> <konstantin.ananyev at intel.com>; dev at dpdk.org; Lu, Wenzhuo
>> <wenzhuo.lu at intel.com>
>> Subject: Re: [dpdk-dev] [PATCH v3] net/ixgbe:fix max packet length in ixgbevf
>>
>> I think your patch does fix an error in ixgbevf and I can acknowledge it after I
>> have checked with 82599 and x540 and x550 datasheet.
>>
>> In 82599 datasheet, there is an annotation in the chapter 1.3 Features
>> Summary (page 29)  The 82599 supports full-size 15.5 KB (15872-byte) jumbo
>> packets while in a basic mode of operation. When DCB mode is enabled, or
>> security engines enabled or virtualization is enabled, the 82599 supports 9.5 KB
>> (9728-byte) jumbo packets
>>
>> In x540 datasheet, there is also an annotation in the chapter 1.3 Features
>> Summary (page 13) The X540 and 82599 support full-size 15.5 KB jumbo
>> packets while in a basic mode of operation. When DCB mode is enabled, or
>> security engines enabled, or virtualization is enabled, or OS2BMC is enabled,
>> then the X540 supports 9.5 KB jumbo packets.
>> Packets to/from MC longer than 2KB are filtered out.
>>
>> In x550 datasheet, there is still also an annotation in the chapter 1.4 Feature
>> Summary (page 23) All the products support full-size 15.5 KB jumbo packets
>> while in a basic mode of operation. When DCB mode is enabled, or security
>> engines enabled, or virtualization is enabled, or OS2BMC is enabled, then only
>> 9.5 KB jumbo packets are supported. Packets to/ from the MC longer than 2 KB
>> are filtered out.
>>
>>
>>> -----Original Message-----
>>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yuanhan Liu
>>> Sent: Wednesday, December 14, 2016 3:06 PM
>>> To: Yi Zhang <zhang.yi75 at zte.com.cn>
>>> Cc: Zhang, Helin <helin.zhang at intel.com>; Ananyev, Konstantin
>>> <konstantin.ananyev at intel.com>; dev at dpdk.org
>>> Subject: Re: [dpdk-dev] [PATCH v3] net/ixgbe:fix max packet length in
>>> ixgbevf
>>>
>>> On Thu, Dec 15, 2016 at 02:50:19AM +0800, Yi Zhang wrote:
>>>> Current ixgbevf driver get max_rx_pktlen = 15872, but in fact PF
>>>> supports 15872-byte jumbo frame and VF only supports 9728-byte jumbo
>>>> frame. If VF is running DPDK driver and set frame_size > 9728 ,PF
>>>> running kernel ixgbe driver will report an error and set VF failed.
>>>> This patch fixs DPDK ixgbevf driver to get correct jumbo frame size
>>>> of VF.
>>>>

Fixes: 2144f6630fca ("ixgbe: add redirection table size in device info")
Cc: stable at dpdk.org

>>>> Signed-off-by: Yi Zhang <zhang.yi75 at zte.com.cn>
> Acked-by: Wei Dai <wei.dai at intel.com>

Applied to dpdk-next-net/master, thanks.

(datasheet references by Wei added into commit log)



More information about the dev mailing list