Skip to content

Commit

Permalink
Disable QCMP in XDP if not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Jan 30, 2025
1 parent a8007cb commit e70d5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ impl Service {
.as_deref()
.map_or(xdp::NicConfig::Default, xdp::NicConfig::Name),
external_port: self.udp_port,
qcmp_port: self.qcmp_port,
qcmp_port: if self.qcmp_enabled { self.qcmp_port } else { 0 },
maximum_packet_memory: self.xdp.maximum_memory,
require_zero_copy: self.xdp.force_zerocopy,
require_tx_checksum: self.xdp.force_tx_checksum_offload,
Expand Down

0 comments on commit e70d5c6

Please sign in to comment.