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

Function vnic_dev_enable_wait

dpdk/drivers/net/enic/base/vnic_dev.c:808–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806}
807
808int vnic_dev_enable_wait(struct vnic_dev *vdev)
809{
810 uint64_t a0 = 0, a1 = 0;
811 int wait = 1000;
812
813 if (vnic_dev_capable(vdev, CMD_ENABLE_WAIT))
814 return vnic_dev_cmd(vdev, CMD_ENABLE_WAIT, &a0, &a1, wait);
815 else
816 return vnic_dev_cmd(vdev, CMD_ENABLE, &a0, &a1, wait);
817}
818
819int vnic_dev_disable(struct vnic_dev *vdev)
820{

Callers 1

enic_enableFunction · 0.85

Calls 2

vnic_dev_capableFunction · 0.85
vnic_dev_cmdFunction · 0.85

Tested by

no test coverage detected