Re: [dpdk-dev] [PATCH] net/liquidio: fix MTU calculation from port configuration

2017-06-08 Thread Ferruh Yigit
On 6/6/2017 12:04 PM, Shijith Thotton wrote: > max_rx_pkt_len member of port RX configuration indicates max frame > length. Ethernet header and CRC length should be subtracted from it to > find MTU. > > Fixes: 605164c8e79d ("net/liquidio: add API to validate VF MTU") > > Signed-off-by: Shijith Th

[dpdk-dev] [PATCH] net/liquidio: fix MTU calculation from port configuration

2017-06-06 Thread Shijith Thotton
max_rx_pkt_len member of port RX configuration indicates max frame length. Ethernet header and CRC length should be subtracted from it to find MTU. Fixes: 605164c8e79d ("net/liquidio: add API to validate VF MTU") Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_ethdev.c | 21