-
Notifications
You must be signed in to change notification settings - Fork 103
[Deepin-Kernel-SIG] [linux 6.6-y] [WangXun] deepin: net: ngbe: add support for wangxun 1G #1351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: linux-6.6.y
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @linyuexie, your pull request is larger than the review limit of 150000 diff characters
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi @linyuexie. Thanks for your PR. 😃 |
|
Hi @linyuexie. Thanks for your PR. I'm waiting for a deepin-community member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive driver support for WangXun 1G network adapters (WX1860 chips) to the Linux kernel 6.6-y branch. The driver introduces features including TSO, TX/RX checksumming, RSS, flow director, VLAN offloading, SR-IOV virtualization, XDP sockets, PTP timestamping, and hardware monitoring.
Key Changes:
- Adds XDP socket support for AF_XDP zero-copy transmission/reception
- Implements SR-IOV virtualization with VF management
- Adds PTP timestamping support
- Implements hardware temperature monitoring via sysfs/hwmon
- Adds PCIe error recovery mechanisms
- Extends PHY layer support for multiple PHY types
Reviewed changes
Copilot reviewed 21 out of 24 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ngbe_xsk.h | Header guard mismatch with filename; defines XDP socket interface |
| ngbe_xsk.c | Implements XDP socket zero-copy operations |
| ngbe_type.h | Dual copyright headers; comprehensive register definitions |
| ngbe_sysfs.c | Dual copyright headers; hwmon interface implementation |
| ngbe_sriov.h | Dual copyright headers; SR-IOV interface definitions |
| ngbe_sriov.c | Dual copyright headers; SR-IOV implementation with spelling errors |
| ngbe_phy.h | Dual copyright headers; PHY layer interface |
| ngbe_pcierr.h | Minimal header for PCIe error handling |
| ngbe_pcierr.c | PCIe error recovery implementation |
| ngbe_mdio.h | Removes unused function declaration |
| Makefile | Adds build targets and non-standard make rules |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
wangxun inclusion category: feature this driver is supported for wangxun WX1860 chips, and supports TSO, tx checksum, rx checksum, RSS, flow director, vlan insert, vlan strip, vlan filter offload. Signed-off-by: linyuexie1 <[email protected]>
2792d4e to
5169b25
Compare
deepin pr auto reviewThe provided files are part of a network driver implementation for a WangXun Gigabit Ethernet adapter. Let me analyze the key components and their relationships: File Structure and Purpose1. ngbe_main.c (Main Driver Implementation)
2. ngbe_type.h (Hardware Definitions)
3. ngbe_sriov.h/.c (SR-IOV Implementation)
4. ngbe_sysfs.c (SystemFS Interface)
5. ngbe_xsk.c (XDP Socket Support)
Key Features1. Multi-Queue Support
2. SR-IOV Virtualization
3. Advanced Networking Features
4. XDP Support
5. Hardware Monitoring
ArchitectureThe driver follows a typical Linux network driver architecture:
Notable Implementation Details
Compilation and IntegrationThe driver is designed to integrate with the Linux kernel networking stack:
This is a sophisticated network driver implementation that leverages hardware acceleration features while maintaining compatibility with standard Linux networking interfaces. The SR-IOV and XDP support make it suitable for virtualized environments and high-performance networking scenarios. |
wangxun inclusion
category: feature
this driver is supported for wangxun WX1860 chips, and supports TSO, tx checksum, rx checksum, RSS, flow director, vlan insert, vlan strip, vlan filter offload.