MCPcopy Create free account
hub / github.com/F-Stack/f-stack / eth_dev_set_mtu_mp

Function eth_dev_set_mtu_mp

dpdk/app/test-pmd/testpmd.c:691–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691static int
692eth_dev_set_mtu_mp(uint16_t port_id, uint16_t mtu)
693{
694 if (is_proc_primary())
695 return rte_eth_dev_set_mtu(port_id, mtu);
696
697 return 0;
698}
699
700/* Forward function declarations */
701static void setup_attached_port(portid_t pi);

Callers 1

Calls 2

is_proc_primaryFunction · 0.85
rte_eth_dev_set_mtuFunction · 0.85

Tested by

no test coverage detected