Home
last modified time | relevance | path

Searched refs:emad_len (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c852 u16 emad_len; in mlxsw_emad_alloc() local
854 emad_len = (reg_len + sizeof(u32) + MLXSW_EMAD_ETH_HDR_LEN + in mlxsw_emad_alloc()
858 emad_len += MLXSW_EMAD_STRING_TLV_LEN * sizeof(u32); in mlxsw_emad_alloc()
859 if (emad_len > MLXSW_EMAD_MAX_FRAME_LEN) in mlxsw_emad_alloc()
862 skb = netdev_alloc_skb(NULL, emad_len); in mlxsw_emad_alloc()
865 memset(skb->data, 0, emad_len); in mlxsw_emad_alloc()
866 skb_reserve(skb, emad_len); in mlxsw_emad_alloc()