[Feature Request] Add priority event queues

オープン
#894 コメント 4 件 リアクション 1 件 担当者 1 名 GitHub で見る

@shubnil がすでに取り組んでいます。

2023年6月5日 から。

評価

この issue はまだ評価されていません。

説明

enhancement help wanted

Is your feature request related to a problem? Please describe.
For certain application it is desirable to have multiple priorities during sending of packets. For example an audio stream might have strict jitter requirements and thus should always be send on time. In conjunction with a network hardware supporting mutiple queues, this provides a powerful tool for time sensitive networking.

Describe the solution you'd like
Have multiple worker queues for tx and rx events to allow packets to overtake each other. All other events would be processed in the highst priority queue.

Describe alternatives you've considered
None

This feature could be implemented as an opt in. Only two functions access the network queue currently. These could be expanded to support priorities. The priority could set through setsockopt (SO_PRIORITY and/or IP_TOS) like in linux/posix. The user could create a map between the priority/TOS and queues and also between queues/priority and hw queues.

I have a working prototype.

主要言語
C
スター
215
フォーク
222
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FreeRTOS/FreeRTOS-Plus-TCP のほかの issue

FreeRTOS/FreeRTOS-Plus-TCP の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。