Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mscc/
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-6.6.21/include/linux/
Dethtool.h1032 u32 add_frag_size; in ethtool_mm_frag_size_min_to_add() local
1034 for (add_frag_size = 0; add_frag_size < 4; add_frag_size++) { in ethtool_mm_frag_size_min_to_add()
1035 if (ethtool_mm_frag_size_add_to_min(add_frag_size) == val_min) { in ethtool_mm_frag_size_min_to_add()
1036 *val_add = add_frag_size; in ethtool_mm_frag_size_min_to_add()
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dethtool_mm.sh160 local add_frag_size=$1
162 lldptool -T -i $h1 -V addEthCaps addFragSize=$add_frag_size >/dev/null
166 grep -q "Additional fragment size: $add_frag_size"
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c1089 u32 val, add_frag_size; in enetc_set_mm() local
1096 &add_frag_size, extack); in enetc_set_mm()
1133 val |= ENETC_MMCSR_RAFS(add_frag_size); in enetc_set_mm()
/linux-6.6.21/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1219 u32 val, maxlen, add_frag_size; in vsc9959_tas_guard_bands_update() local
1266 add_frag_size = QSYS_PREEMPTION_CFG_MM_ADD_FRAG_SIZE_X(val); in vsc9959_tas_guard_bands_update()
1268 (u64)(24 + 2 * ethtool_mm_frag_size_add_to_min(add_frag_size)); in vsc9959_tas_guard_bands_update()