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

Function tap_link_set_up

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

Source from the content-addressed store, hash-verified

836}
837
838static int
839tap_link_set_up(struct rte_eth_dev *dev)
840{
841 struct pmd_internals *pmd = dev->data->dev_private;
842 struct ifreq ifr = { .ifr_flags = IFF_UP };
843
844 dev->data->dev_link.link_status = RTE_ETH_LINK_UP;
845 return tap_ioctl(pmd, SIOCSIFFLAGS, &ifr, 1, LOCAL_AND_REMOTE);
846}
847
848static int
849tap_mp_req_on_rxtx(struct rte_eth_dev *dev)

Callers 1

tap_dev_startFunction · 0.85

Calls 1

tap_ioctlFunction · 0.85

Tested by

no test coverage detected