XDE may not receive multicast frames from physical underlay
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- rust
- Lĩnh vực
- networking
Hướng nghiên cứu
Bắt đầu với phần xử lý DlsStream và MacSiphon của XDE, sau đó lần theo các entry point t4_mc_multicst và t4_set_rxmode được mô tả trong issue. So sánh bốn phương án nhận multicast, bao gồm giới hạn bộ lọc của cxgbe và tùy chọn allmultien của FW_VI_RXMODE_CMD. Hoàn thành có nghĩa là các frame multicast từ underlay vật lý đến được XDE flow dự định trên phần cứng T6 một cách đáng tin cậy mà không vượt quá dung lượng bộ lọc hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Reading up on mc_multicst when reviewing #905 led me to look into t4_mc_multicst and toy around receipt of multicast frames on T6 hardware[^1]. Packets with arbitrary multicast MACs will not be handed from the NIC to the OS (and thus will not appear on any ring) unless the NIC is programmed with a corresponding multicast MAC filter by illumos. I ended up testing this out by having one half of sn9/sn14 transmit exclusively to a multicast destination MAC, and then turning snoop -d cxgbe1 on/off on the receiving side to shunt the NIC into/out of promiscuous mode. Simnets will typically ignore these limitations.
We need to do a little more work to ensure that packets are received at XDE, by one of the following:
- Have XDE call
mac_multicast_add/mac_multicast_removeon the underlay devices according to each group's derived multicast addresses. Each multicast address on the client has aflow_entry_tcreated. However, it appears the cxgbe driver is unable to handle more than 336 entries on a given interface today. - Have sled-agent open a socket for each underlay multicast group address of interest, via
UdpSocket::join_multicast_v6. This ultimately results in the same calls being made to plumb multicast filters, and we expect that the socket should receive no packets due to XDE's siphon/flow hook structure. This will run into the same limitation as 1. - Put the device into promiscuous mode. Since we control the upstream network we're not at risk of receiving additional unicast traffic (and paying a cost for doing so), but the main killer would be that this must be done by registering a callback on a client, for which illumos will duplicate all traffic.
- Configure the T6 to receive all multicast traffic via the
t4_set_rxmodemethod (theallmultienbitfield of theFW_VI_RXMODE_CMDT6 firmware command). This avoids the filter table size limit, but there's not really a sane interface for configuring this today, but then we lose hardware filtering by multicast address.
@zeeshanlakhani I think 1. is probably the most reasonable approach, since we can pull the MAC client handle from either the DlsStream or MacSiphon. That may not be doable if we change things to send and receive on the MAC flow directly, but we can probably expose a client function to pull out the mac_client_handle_t. What do you think?
[^1]: My main motivation was in making sure that OPTE-bound packets would still transit from the ring to one OPTE's flows if it were to arrive on a multicast destination MAC in an IPD45 setting. This seems to be the case, but only if multicast packets arrive on the ring at all (i.e., via promisc mode).
- Ngôn ngữ chính
- Rust
- Star
- 82
- Fork
- 16
- Merge trung bình
- 3 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của oxidecomputer/opte
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
oxidecomputer/opte#1125 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`PortBuilder::add_layer` doesn't need a mutexCó thể đã có người làm @FelixMcFelix đã nhận 54 ngày trước. Đang mởcleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
oxidecomputer/opte#1061 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
oxidecomputer/opte#1052 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
oxidecomputer/opte#341 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`Layer` creation should not unwrap `KStatNamed`Có thể đã có người làm @FelixMcFelix đã nhận 54 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 40/100
oxidecomputer/opte#1126 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của oxidecomputer/opte
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
qingjian-team/qingjian#1181 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug P2: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
leepokai/Codync#618 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budgetCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
lbjlaq/Antigravity-Manager#4063 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
solutionscay/skiff#297 ·
Maintainer thường phản hồi trong vòng 1 ngày