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

Function ionic_dev_cmd_port_pause

dpdk/drivers/net/ionic/ionic_dev.c:189–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void
190ionic_dev_cmd_port_pause(struct ionic_dev *idev, uint8_t pause_type)
191{
192 union ionic_dev_cmd cmd = {
193 .port_setattr.opcode = IONIC_CMD_PORT_SETATTR,
194 .port_setattr.index = 0,
195 .port_setattr.attr = IONIC_PORT_ATTR_PAUSE,
196 .port_setattr.pause_type = pause_type,
197 };
198
199 ionic_dev_cmd_go(idev, &cmd);
200}
201
202void
203ionic_dev_cmd_port_loopback(struct ionic_dev *idev, uint8_t loopback_mode)

Callers 1

ionic_flow_ctrl_setFunction · 0.85

Calls 1

ionic_dev_cmd_goFunction · 0.85

Tested by

no test coverage detected