[dpdk-dev] [PATCH v1] add mtu set in virtio

2016-08-29 Thread Dey, Souvik
the first time can you please guide with the next steps. -- Regards, Souvik -Original Message- From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Monday, August 29, 2016 3:33 PM To: Dey, Souvik Cc: huawei.xie at intel.com; yuanhan.liu at linux.intel.com; dev at dpdk

[dpdk-dev] [PATCH v1] add mtu set in virtio

2016-08-29 Thread Stephen Hemminger
On Sun, 28 Aug 2016 22:43:54 + "Dey, Souvik" wrote: > Hi , > Currently as you have mentioned, I have changed the code to: > static int > virtio_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) > { > struct virtio_hw *hw = dev->data->dev_private; > - if (unlikely(mtu <

[dpdk-dev] [PATCH v1] add mtu set in virtio

2016-08-28 Thread Dey, Souvik
Saturday, August 27, 2016 8:16 PM To: Dey, Souvik Cc: huawei.xie at intel.com; yuanhan.liu at linux.intel.com; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v1] add mtu set in virtio On Fri, 26 Aug 2016 20:54:28 -0400 souvikdey33 wrote: > This functionality is required mostly in the clou

[dpdk-dev] [PATCH v1] add mtu set in virtio

2016-08-27 Thread Stephen Hemminger
On Fri, 26 Aug 2016 20:54:28 -0400 souvikdey33 wrote: > This functionality is required mostly in the cloud infrastructure. > For example, if we use gre or vxlan network between compute and > controller, then we should not use 1500 mtu in the guest as with > encapsulation the sixe of the packet

[dpdk-dev] [PATCH v1] add mtu set in virtio

2016-08-26 Thread souvikdey33
This functionality is required mostly in the cloud infrastructure. For example, if we use gre or vxlan network between compute and controller, then we should not use 1500 mtu in the guest as with encapsulation the sixe of the packet will be more and will get dropped in the infrastructure. So, in