Hi,

If dpdk plugin used, which is the default case in VPP, MTU to each interface is set by retrieving MTU information from underlying DPDK PMD API: rte_eth_dev_info_get(). So if the device supports max MTU say 9216 then that will be configured.

I don't think setting MTU via vpp cli or startup.config is supported. Although it should be easy to implement by adding dpdk plugin cli by calling rte_eth_dev_set_mtu().

Thanks,
Nitin

On Tuesday 08 May 2018 05:54 PM, Rubina Bianchi wrote:
Hi

I set mtu to all of my interfaces using "vppctl set interface mtu 1500 <interface>". But when I generate packets larger than mtu size, all packet pass through vpp. Is there any parameter that I must set?

I generate large packet using "ping -M do -s 9472 200.200.200.40".

My vpp version: master v18.07-rc0~147-g7220f42c

Thanks,
Sincerely

Sent from Outlook <http://aka.ms/weboutlook>


-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#9215): https://lists.fd.io/g/vpp-dev/message/9215
View All Messages In Topic (3): https://lists.fd.io/g/vpp-dev/topic/18847572
Mute This Topic: https://lists.fd.io/mt/18847572/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to