Commit 950f1ba
dev: fix max ethernet size issue for VFs
When user provides maximum ethernet size more than supported
size then initially it gets stored in a u32 variable which is
further copied to u16 variable. Due to this conversion
maximum input value truncated to 0. This trunctation leads to
failure in later stage.
Type: fix
JIRA: https://essjira.marvell.com/browse/IPBUSW-62958
Signed-off-by: Sunil Kumar Kori <[email protected]>
Change-Id: Id7d7fe1890129ed0de9adb1ae035e848cc9098f5
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/toolkits/vpp/+/147519
Reviewed-by: Nithin Kumar Dabilpuram <[email protected]>
Tested-by: sa_ip-toolkits-Jenkins <[email protected]>
(cherry picked from commit aded3e60710c9fec40925cbee9cb123fc7f5dd2e)
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/toolkits/vpp/+/147615
Reviewed-by: Monendra Singh Kushwaha <[email protected]>
Tested-by: Monendra Singh Kushwaha <[email protected]>1 parent 17482d5 commit 950f1ba
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments