diff --git a/python/spdk/rpc/sock.py b/python/spdk/rpc/sock.py index 63533de0f..bfef2601e 100644 --- a/python/spdk/rpc/sock.py +++ b/python/spdk/rpc/sock.py @@ -51,7 +51,7 @@ def sock_impl_set_options(client, params['enable_zerocopy_send_server'] = enable_zerocopy_send_server if enable_zerocopy_send_client is not None: params['enable_zerocopy_send_client'] = enable_zerocopy_send_client - if enable_dynamic_zerocopy is not None: + if zerocopy_threshold is not None: params['zerocopy_threshold'] = zerocopy_threshold return client.call('sock_impl_set_options', params)