By default metadata is enabled on the supported devices in E-switch. Metadata is applicable only for E-switch in switchdev mode and users may disable it when NONE of the below use cases will be in use: 1.
Stacked devices. When metadata is disabled, the above use cases will fail to initialize if users try to enable them. The mlx5 driver implements support for offloading bridge rules when in switchdev mode. Linux bridge FDBs are automatically offloaded when mlx5 switchdev representor is attached to bridge.
A Subfunction has its own function capabilities and its own resources. This means a subfunction has its own dedicated queues txq, rxq, cq, eq. These queues are neither shared nor stolen from the parent PCI function. This ensures that all devices netdev, rdma, vdpa etc. A Subfunction supports eswitch representation through which it supports tc offloads.
This is supported only when the eswitch mode is set to switchdev. Upon function activation, the PF driver instance gets the event from the device that a particular SF was activated. Additionally, the SF port also gets the event when the driver attaches to the auxiliary device of the subfunction.
This results in changing the operational state of the function. This provides visiblity to the user to decide when is it safe to delete the SF port for graceful termination of the subfunction. The tx reporter is responsible for reporting and recovering of the following two error scenarios:. TX reporter also support on demand diagnose callback, on which it provides real time information of its send queues status.
NOTE: This command has valid output only when interface is up, otherwise the command has empty output. Show number of tx errors indicated, number of recover flows ended successfully, is autorecover enabled and graceful period from last recover:.
The rx reporter is responsible for reporting and recovering of the following two error scenarios:. RX queues descriptors population on ring initialization is done in napi context via triggering an irq, in case of a failure to get the minimum amount of descriptors, a timeout would occur and it could be recoverable by polling the EQ Event Queue.
RX reporter also supports on demand diagnose callback, on which it provides real time information of its receive queues status. Show number of rx errors indicated, number of recover flows ended successfully, is autorecover enabled and graceful period from last recover:. The fw reporter implements diagnose and dump callbacks. It follows symptoms of fw error such as fw syndrome by triggering fw core dump and storing it into the dump buffer.
The fw reporter diagnose command can be triggered any time by the user to check current fw status. The fw fatal reporter implements dump and recover callbacks. It follows fatal errors indications by CR-space dump and recover flow. The CR-space dump uses vsc interface which is valid even if the FW command interface is not functional, which is the case in most FW fatal errors.
The recover function runs recover flow which reloads the driver and triggers fw reset if needed. The Linux Kernel 5. Enables Hardware-accelerated receive flow steering arfs support, and ntuple filtering. Enables ethtool receive network flow classification, which allows user defined.
0コメント