-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'net-next-2024-03-30--03-00' into HEAD
- Loading branch information
Showing
263 changed files
with
5,579 additions
and
2,489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/net/airoha,en8811h.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Airoha EN8811H PHY | ||
|
||
maintainers: | ||
- Eric Woudstra <[email protected]> | ||
|
||
description: | ||
The Airoha EN8811H PHY has the ability to reverse polarity | ||
on the lines to and/or from the MAC. It is reversed by | ||
the booleans in the devicetree node of the phy. | ||
|
||
allOf: | ||
- $ref: ethernet-phy.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- ethernet-phy-id03a2.a411 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
airoha,pnswap-rx: | ||
type: boolean | ||
description: | ||
Reverse rx polarity of the SERDES. This is the receiving | ||
side of the lines from the MAC towards the EN881H. | ||
|
||
airoha,pnswap-tx: | ||
type: boolean | ||
description: | ||
Reverse tx polarity of SERDES. This is the transmitting | ||
side of the lines from EN8811H towards the MAC. | ||
|
||
required: | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
mdio { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
ethernet-phy@1 { | ||
compatible = "ethernet-phy-id03a2.a411"; | ||
reg = <1>; | ||
airoha,pnswap-rx; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
.. SPDX-License-Identifier: GPL-2.0 | ||
========================== | ||
Devlink E-Switch Attribute | ||
========================== | ||
|
||
Devlink E-Switch supports two modes of operation: legacy and switchdev. | ||
Legacy mode operates based on traditional MAC/VLAN steering rules. Switching | ||
decisions are made based on MAC addresses, VLANs, etc. There is limited ability | ||
to offload switching rules to hardware. | ||
|
||
On the other hand, switchdev mode allows for more advanced offloading | ||
capabilities of the E-Switch to hardware. In switchdev mode, more switching | ||
rules and logic can be offloaded to the hardware switch ASIC. It enables | ||
representor netdevices that represent the slow path of virtual functions (VFs) | ||
or scalable-functions (SFs) of the device. See more information about | ||
:ref:`Documentation/networking/switchdev.rst <switchdev>` and | ||
:ref:`Documentation/networking/representors.rst <representors>`. | ||
|
||
In addition, the devlink E-Switch also comes with other attributes listed | ||
in the following section. | ||
|
||
Attributes Description | ||
====================== | ||
|
||
The following is a list of E-Switch attributes. | ||
|
||
.. list-table:: E-Switch attributes | ||
:widths: 8 5 45 | ||
|
||
* - Name | ||
- Type | ||
- Description | ||
* - ``mode`` | ||
- enum | ||
- The mode of the device. The mode can be one of the following: | ||
|
||
* ``legacy`` operates based on traditional MAC/VLAN steering | ||
rules. | ||
* ``switchdev`` allows for more advanced offloading capabilities of | ||
the E-Switch to hardware. | ||
* - ``inline-mode`` | ||
- enum | ||
- Some HWs need the VF driver to put part of the packet | ||
headers on the TX descriptor so the e-switch can do proper | ||
matching and steering. Support for both switchdev mode and legacy mode. | ||
|
||
* ``none`` none. | ||
* ``link`` L2 mode. | ||
* ``network`` L3 mode. | ||
* ``transport`` L4 mode. | ||
* - ``encap-mode`` | ||
- enum | ||
- The encapsulation mode of the device. Support for both switchdev mode | ||
and legacy mode. The mode can be one of the following: | ||
|
||
* ``none`` Disable encapsulation support. | ||
* ``basic`` Enable encapsulation support. | ||
|
||
Example Usage | ||
============= | ||
|
||
.. code:: shell | ||
# enable switchdev mode | ||
$ devlink dev eswitch set pci/0000:08:00.0 mode switchdev | ||
# set inline-mode and encap-mode | ||
$ devlink dev eswitch set pci/0000:08:00.0 inline-mode none encap-mode basic | ||
# display devlink device eswitch attributes | ||
$ devlink dev eswitch show pci/0000:08:00.0 | ||
pci/0000:08:00.0: mode switchdev inline-mode none encap-mode basic | ||
# enable encap-mode with legacy mode | ||
$ devlink dev eswitch set pci/0000:08:00.0 mode legacy inline-mode none encap-mode basic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23661,7 +23661,6 @@ F: drivers/scsi/vmw_pvscsi.c | |
F: drivers/scsi/vmw_pvscsi.h | ||
|
||
VMWARE VIRTUAL PTP CLOCK DRIVER | ||
M: Jeff Sipek <[email protected]> | ||
R: Ajay Kaher <[email protected]> | ||
R: Alexey Makhalov <[email protected]> | ||
R: VMware PV-Drivers Reviewers <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.