Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mscc/
H A Docelot_mm.c173 u32 mm_enable = 0, verify_disable = 0, add_frag_size; in ocelot_port_set_mm() local
183 &add_frag_size, extack); in ocelot_port_set_mm()
210 QSYS_PREEMPTION_CFG_MM_ADD_FRAG_SIZE(add_frag_size), in ocelot_port_set_mm()
239 u32 val, add_frag_size; in ocelot_port_get_mm() local
258 add_frag_size = QSYS_PREEMPTION_CFG_MM_ADD_FRAG_SIZE_X(val); in ocelot_port_get_mm()
259 state->tx_min_frag_size = ethtool_mm_frag_size_add_to_min(add_frag_size); in ocelot_port_get_mm()
/linux/include/linux/
H A Dethtool.h1238 u32 add_frag_size; in ethtool_mm_frag_size_min_to_add() local
1240 for (add_frag_size = 0; add_frag_size < 4; add_frag_size++) { in ethtool_mm_frag_size_min_to_add()
1241 if (ethtool_mm_frag_size_add_to_min(add_frag_size) == val_min) { in ethtool_mm_frag_size_min_to_add()
1242 *val_add = add_frag_size; in ethtool_mm_frag_size_min_to_add()
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_mm.sh196 local add_frag_size=$1
199 lldptool -T -i $h1 -V addEthCaps addFragSize=$add_frag_size >/dev/null
203 $(expected_add_frag_size $h1 $add_frag_size))
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-ethtool.c787 u32 add_frag_size; in am65_cpsw_get_mm() local
811 add_frag_size = AM65_CPSW_PN_IET_MAC_GET_ADDFRAGSIZE(iet_ctrl); in am65_cpsw_get_mm()
812 state->tx_min_frag_size = ethtool_mm_frag_size_add_to_min(add_frag_size); in am65_cpsw_get_mm()
841 u32 val, add_frag_size; in am65_cpsw_set_mm() local
847 err = ethtool_mm_frag_size_min_to_add(cfg->tx_min_frag_size, &add_frag_size, extack); in am65_cpsw_set_mm()
883 val |= AM65_CPSW_PN_IET_MAC_SET_ADDFRAGSIZE(add_frag_size); in am65_cpsw_set_mm()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c1079 u32 val, add_frag_size; in enetc_set_mm() local
1086 &add_frag_size, extack); in enetc_set_mm()
1123 val |= ENETC_MMCSR_RAFS(add_frag_size); in enetc_set_mm()
/linux/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1223 u32 val, maxlen, add_frag_size; in vsc9959_tas_guard_bands_update() local
1270 add_frag_size = QSYS_PREEMPTION_CFG_MM_ADD_FRAG_SIZE_X(val); in vsc9959_tas_guard_bands_update()
1272 (u64)(24 + 2 * ethtool_mm_frag_size_add_to_min(add_frag_size)); in vsc9959_tas_guard_bands_update()