Deprecated: Function libxml_disable_entity_loader() is deprecated since 8.0, as external entity loading is disabled by default in /application/src/init.php on line 167

Deprecated: Return type of Qrequest::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 22

Deprecated: Return type of & Qrequest::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 25

Deprecated: Return type of Qrequest::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 31

Deprecated: Return type of Qrequest::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 35

Deprecated: Return type of Qrequest::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 38

Deprecated: Return type of Qrequest::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 88

Deprecated: Return type of Qrequest::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 91

Deprecated: Creation of dynamic property Qrequest::$cap is deprecated in /application/lib/qrequest.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /application/src/init.php:167) in /application/src/initweb.php on line 45

Warning: session_name(): Session name cannot be changed after headers have already been sent in /application/lib/redirect.php on line 46

Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /application/lib/redirect.php on line 47

Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /application/lib/redirect.php on line 60

Warning: session_start(): Session cannot be started after headers have already been sent in /application/lib/redirect.php on line 75

Deprecated: Creation of dynamic property Qrequest::$p is deprecated in /application/lib/qrequest.php on line 42

Deprecated: Creation of dynamic property Qrequest::$paperId is deprecated in /application/lib/qrequest.php on line 42

Deprecated: Return type of PaperInfoSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/paperinfo.php on line 225

Deprecated: Creation of dynamic property PaperInfo::$timeFinalSubmitted is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$timeModified is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$sha1 is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$blind is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$leadContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$shepherdContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$capVersion is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$size is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$mimetype is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$timestamp is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$pdfFormatStatus is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$withdrawReason is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$conflictType is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$myReviewPermissions is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$topicIds is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$optionIds is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$paperTags is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$leadContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$conflictType is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$paperTags is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$myReviewPermissions is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property CommentInfo::$reviewFirstName is deprecated in /application/src/commentinfo.php on line 59

Deprecated: Creation of dynamic property CommentInfo::$reviewLastName is deprecated in /application/src/commentinfo.php on line 59

Deprecated: Creation of dynamic property CommentInfo::$reviewEmail is deprecated in /application/src/commentinfo.php on line 59
#41 - Netdev 0x18

Deprecated: Return type of TagAnno::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/tagger.php on line 130

Deprecated: Return type of TagMap::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/tagger.php on line 299
More

PC conflicts

Jakob Keller

Jason Gunthorpe

Jesse Brandeburg

Johannes Berg

Saeed Mahameed

Submitted

In switchdev mode, representors are slow-path ports that handle the miss traffic, i.e., traffic not being forwarded by the hardware. Representor ports are regular netdevices, with multiple channels consuming DMA memory. Memory consumption of the representor port's RX buffers can grow to several GB when scaling to 1k VFs representors. For example, in mlx5 driver, each RQ, with a typical 1K descriptors, consumes 3MB of DMA memory for packet buffer in descriptors, and with four channels, it consumes 4 * 3MB * 1024 = 12GB of memory. Since representor ports are for slow path traffic, most of these representor ports' RX DMA memory is idle and wasted [1] when flows are forwarded directly in hardware to VFs.

A network device driver consists of several channels and each channel represents a NAPI context and a set of queues. Each device driver receives packets by setting up RQ (receive queue), and each RQ receives packets by pre-allocating a dedicated set of RX ring descriptors, with each descriptor pointing to a memory buffer. The shared memory pool is a descriptor and buffer sharing mechanism. It allows multiple RQs to use the RX ring descriptors from the shared descriptor pool. In other words, the RQ no longer has its own dedicated RX ring descriptors, which might be idle when there is no traffic, but it consumes the descriptors from the descriptor pool only when packets arrive.

We propose a new devlink eswitch attribute named "spool_size", which enables all representors sharing the same memory pool from the uplink representor port. In the future, we want to explore more fine-grained api for shared memory pool, by introducing a new devlink API, called devlink-sd [4] (devlink shared descriptor). Devlink-sd allows users to differentiate representors: important representors can have its own non-shared RX ring for performance/latency reason.

[1] https://people.kernel.org/kuba/nic-memory-reserve [2] https://lore.kernel.org/netdev/20240306231253.8100-1-witu@nvidia.com/ [3] https://lore.kernel.org/netdev/39dbf7f6-76e0-4319-97d8-24b54e788435@nvidia.com/ [4] https://lore.kernel.org/netdev/20240125223617.7298-1-witu@nvidia.com/

W. Tu, M. Swiatkowski, Y. Kuperman [details]

William Tu (Nvidia) <witu@nvidia.com>

Michal Swiatkowski (Intel) <michal.swiatkowski@intel.com>

Yossi Kuperman (Nvidia) <yossiku@nvidia.com>


Deprecated: Return type of DocumentInfo::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/documentinfo.php on line 951

Deprecated: Return type of ReviewField::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/review.php on line 161

Deprecated: Return type of ReviewForm::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/review.php on line 512
Submission Type
Talk
Submission Label
Nuts and Bolts
Estimated Length Of Time For Presentation (in minutes)
25
Attendance
Physically

To edit this submission, sign in using your email and password.