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

Function tap_mtu_set

dpdk/drivers/net/tap/rte_eth_tap.c:1673–1680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1671}
1672
1673static int
1674tap_mtu_set(struct rte_eth_dev *dev, uint16_t mtu)
1675{
1676 struct pmd_internals *pmd = dev->data->dev_private;
1677 struct ifreq ifr = { .ifr_mtu = mtu };
1678
1679 return tap_ioctl(pmd, SIOCSIFMTU, &ifr, 1, LOCAL_AND_REMOTE);
1680}
1681
1682static int
1683tap_set_mc_addr_list(struct rte_eth_dev *dev __rte_unused,

Callers

nothing calls this directly

Calls 1

tap_ioctlFunction · 0.85

Tested by

no test coverage detected