Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c434 static const u32 supported_sizes[] = { 64, 128, 192, 256 }; in igc_fpe_get_supported_frag_size() local
437 for (int i = 0; i < ARRAY_SIZE(supported_sizes); i++) { in igc_fpe_get_supported_frag_size()
438 if (frag_size <= supported_sizes[i]) in igc_fpe_get_supported_frag_size()
439 return supported_sizes[i]; in igc_fpe_get_supported_frag_size()
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_hw_comm.c458 static const int supported_sizes[16] = { in get_hw_rx_buf_size_idx() local
470 idx = ARRAY_SIZE(supported_sizes); in get_hw_rx_buf_size_idx()
473 if (supported_sizes[idx] <= rx_buf_sz) { in get_hw_rx_buf_size_idx()