[Feature Request] Add priority event queues

Đang mở
#894 4 bình luận 1 reaction 1 người được giao Xem trên GitHub

@shubnil đang làm issue này rồi.

Từ ngày 5/6/2023.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
C
Star
215
Fork
222
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FreeRTOS/FreeRTOS-Plus-TCP

Tất cả issue của FreeRTOS/FreeRTOS-Plus-TCP

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.