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

Function vnic_dev_capable

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

Source from the content-addressed store, hash-verified

731}
732
733int vnic_dev_capable(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd)
734{
735 uint64_t a0 = (uint32_t)cmd, a1 = 0;
736 int wait = 1000;
737 int err;
738
739 err = vnic_dev_cmd(vdev, CMD_CAPABILITY, &a0, &a1, wait);
740
741 return !(err || a0);
742}
743
744int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, size_t size,
745 void *value)

Callers 4

vnic_dev_flowman_enableFunction · 0.85
vnic_dev_enable_waitFunction · 0.85
vnic_dev_initFunction · 0.85

Calls 1

vnic_dev_cmdFunction · 0.85

Tested by

no test coverage detected