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

Function modern_set_features

dpdk/drivers/crypto/virtio/virtio_pci.c:93–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static void
94modern_set_features(struct virtio_crypto_hw *hw, uint64_t features)
95{
96 rte_write32(0, &hw->common_cfg->guest_feature_select);
97 rte_write32(features & ((1ULL << 32) - 1),
98 &hw->common_cfg->guest_feature);
99
100 rte_write32(1, &hw->common_cfg->guest_feature_select);
101 rte_write32(features >> 32,
102 &hw->common_cfg->guest_feature);
103}
104
105static uint8_t
106modern_get_status(struct virtio_crypto_hw *hw)

Callers

nothing calls this directly

Calls 1

rte_write32Function · 0.50

Tested by

no test coverage detected