mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
Merge branch 'mlxsw-fixes'
Jiri Pirko says: ==================== mlxsw: Couple of fixes Couple of fixes from Yotam. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
03a1eabc3f
@ -2285,7 +2285,7 @@ static int mlxsw_sp_port_create(struct mlxsw_sp *mlxsw_sp, u8 local_port,
|
||||
/* Each packet needs to have a Tx header (metadata) on top all other
|
||||
* headers.
|
||||
*/
|
||||
dev->hard_header_len += MLXSW_TXHDR_LEN;
|
||||
dev->needed_headroom = MLXSW_TXHDR_LEN;
|
||||
|
||||
err = mlxsw_sp_port_system_port_mapping_set(mlxsw_sp_port);
|
||||
if (err) {
|
||||
|
@ -997,7 +997,7 @@ static int mlxsw_sx_port_create(struct mlxsw_sx *mlxsw_sx, u8 local_port)
|
||||
/* Each packet needs to have a Tx header (metadata) on top all other
|
||||
* headers.
|
||||
*/
|
||||
dev->hard_header_len += MLXSW_TXHDR_LEN;
|
||||
dev->needed_headroom = MLXSW_TXHDR_LEN;
|
||||
|
||||
err = mlxsw_sx_port_module_check(mlxsw_sx_port, &usable);
|
||||
if (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user