Hi Akshaya, > > Does your patch have a way to set per protocol MTU(ip4/ip6/mpls) on s/w > interface? We are looking for a way to set per protocol MTU and currently we > couldn't find any option for this.
No, but that’s simple to add if there’s a need. Cheers, Ole > > -- > Regards, > Akshaya N > > -----Original Message----- > From: Ole Troan <otr...@employees.org> > To: Nitin Saxena <nitin.sax...@cavium.com> > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] MTU in vpp > Date: Wed, 9 May 2018 10:18:02 +0200 > > > 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(). > > I have a patch in the work that let's you set MTU on software interfaces. > Should be there within a few days. > > Best regards, > Ole > > > >