diff options
| author | Muhammad Sammar <[email protected]> | 2018-08-28 14:45:30 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-09-06 13:35:16 -0600 |
| commit | 142a9c287613560edf5a03c8d142c8b6ebc1995b (patch) | |
| tree | 8b1167864971972ae90d84e7a43da815748a1c55 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6c75520f7e5a6a353f3b332509d205e213d05855 (diff) | |
IB/ipoib: Ensure that MTU isn't less than minimum permitted
It is illegal to change MTU to a value lower than the minimum MTU
stated in ethernet spec. In addition to that we need to add 4 bytes
for encapsulation header (IPOIB_ENCAP_LEN).
Before "ifconfig ib0 mtu 0" command, succeeds while it obviously shouldn't.
Signed-off-by: Muhammad Sammar <[email protected]>
Reviewed-by: Feras Daoud <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions