commit | d5b8dff0073d782f3169e510fd9445f1f56994e2 | [log] [tgz] |
---|---|---|
author | Yishai Hadas <yishaih@mellanox.com> | Tue Jul 08 11:25:23 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 08 19:58:44 2014 -0700 |
tree | 020e449a8e2223864a04d36aa3aeb0928ffb7359 | |
parent | 49a1e4f6b7e78fed9ab36ebbb9d88656885255a4 [diff] |
net/mlx4_en: Do not count LLC/SNAP in MTU calculation LLC/SNAP 8 bytes should not be added as part of header calculation. If used, payload will be decreased accordingly. For MTU of 1500 we'll set 1522 instead of 1523. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Reviewed-by: Liran Liss <liranl@mellanox.com> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>