After an agent soft reset, vif 0 gets deleted and added back. But due to
a timing issue, before it gets added back, the vhost0 MTU notification
used to come resulting in MTU not getting set (Since vif is not added
yet). Fix is to query the MTU from PMD during vif 0 addition.
Change-Id: I2b102b82e21fcc137e62db748d8982bdbbdf87e2
Closes-Bug: 1795839
(cherry picked from commit 514d42fd16f7cf4a7dc4cc5bf110cdbbe4aa3436)
Reviewed: https:/ /review. opencontrail. org/49230 github. com/Juniper/ contrail- vrouter/ commit/ 928a6084116c383 4e123cf075aee6d 598be1b9d2
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit 928a6084116c383 4e123cf075aee6d 598be1b9d2
Author: Kiran Kasim <email address hidden>
Date: Fri Oct 12 09:54:05 2018 -0700
DPDK: Fix for vhost0 MTU not getting set
After an agent soft reset, vif 0 gets deleted and added back. But due to
a timing issue, before it gets added back, the vhost0 MTU notification
used to come resulting in MTU not getting set (Since vif is not added
yet). Fix is to query the MTU from PMD during vif 0 addition.
Change-Id: I2b102b82e21fcc 137e62db748d898 2bdbbdf87e2 a7dc4cc5bf110cd bbe4aa3436)
Closes-Bug: 1795839
(cherry picked from commit 514d42fd16f7cf4