|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
e7ea5f30 |
| 01-Feb-2022 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: support selecting RSS table entry count
On Riverhead boards, the client can control how many entries to have in the indirection table of an exclusive RSS context.
Provide the n
common/sfc_efx/base: support selecting RSS table entry count
On Riverhead boards, the client can control how many entries to have in the indirection table of an exclusive RSS context.
Provide the new parameter to clients and indicate its bounds. Extend the API for writing the table to have the flexibility.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
92bafeff |
| 17-Nov-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: support MAC address edit actions in MAE
In a tunnel packet, these actions affect the inner header if action DECAP is set; otherwise, they affect the outer header.
Adding these
common/sfc_efx/base: support MAC address edit actions in MAE
In a tunnel packet, these actions affect the inner header if action DECAP is set; otherwise, they affect the outer header.
Adding these actions is done in two steps: add the action to the action mask and indicate the MAC address entry ID to use. This allows the user to check the order of actions first and allocate resources when time comes to enable the action rule.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
60fb370c |
| 17-Nov-2021 |
Andrew Rybchenko <[email protected]> |
common/sfc_efx/base: support NIC DMA memory regions API
NIC DMA memory regions API allows to establish mapping of DMA addresses used by NIC to host IOVA understood by the host when IOMMU is absent a
common/sfc_efx/base: support NIC DMA memory regions API
NIC DMA memory regions API allows to establish mapping of DMA addresses used by NIC to host IOVA understood by the host when IOMMU is absent and NIC cannot address entire host IOVA space because of too small DMA mask.
The API does not allow to address entire host IOVA space, but allows arbitrary regions of the space really used for the NIC DMA.
A DMA region needs to be mapped in order to perform MCDI initialization. Since the NIC has not been probed at that point, its configuration cannot be accessed and there an UNKNOWN mapping type is assumed.
Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2 |
|
| #
c6e3e6c4 |
| 05-Nov-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: add API to decrement TTL action to set
Affects the outermost header, taking prior action DECAP into account. Takes care to also update IPv4 checksum accordingly.
Signed-off-by:
common/sfc_efx/base: add API to decrement TTL action to set
Affects the outermost header, taking prior action DECAP into account. Takes care to also update IPv4 checksum accordingly.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
f66a66e6 |
| 03-Nov-2021 |
Vijay Kumar Srivastava <[email protected]> |
vdpa/sfc: support device and protocol features queries
Implement vDPA ops get_feature and get_protocol_features. This patch retrieves device supported features and enables protocol features.
Signed
vdpa/sfc: support device and protocol features queries
Implement vDPA ops get_feature and get_protocol_features. This patch retrieves device supported features and enables protocol features.
Signed-off-by: Vijay Kumar Srivastava <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1 |
|
| #
3a73dcfd |
| 13-Oct-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: match on recirc ID in action rules
Currently, there is an API for setting recirculation ID in outer rules. Add an API to let action rules match on it.
Signed-off-by: Ivan Malov
common/sfc_efx/base: match on recirc ID in action rules
Currently, there is an API for setting recirculation ID in outer rules. Add an API to let action rules match on it.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]>
show more ...
|
| #
5cf153e7 |
| 13-Oct-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: support recirculation ID in outer rules
When an outer rule is hit, it can pass recirculation ID down to action rule lookup, and action rules can match on this ID instead of matc
common/sfc_efx/base: support recirculation ID in outer rules
When an outer rule is hit, it can pass recirculation ID down to action rule lookup, and action rules can match on this ID instead of matching on the outer rule allocation handle. By default, recirculation ID is assumed to be zero.
Add an API to set recirculation ID in outer rules.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| #
1bf9ff57 |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
common/sfc_efx/base: allow getting VNIC MCDI client handles
Equality checks between VNICs should be done by comparing their client handles. This means that clients should be able to retrieve client
common/sfc_efx/base: allow getting VNIC MCDI client handles
Equality checks between VNICs should be done by comparing their client handles. This means that clients should be able to retrieve client handles for arbitrary functions and themselves.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
23748069 |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
common/sfc_efx/base: add API to read MAE mport journal
This is required to provide the driver with the current state of mports.
Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetla
common/sfc_efx/base: add API to read MAE mport journal
This is required to provide the driver with the current state of mports.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
4917b69d |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
common/sfc_efx/base: add multi-host function mport selector
Provide helper function to compose multi-host aware PCIe function M-port selector.
The firmware expects mport selectors to use different
common/sfc_efx/base: add multi-host function mport selector
Provide helper function to compose multi-host aware PCIe function M-port selector.
The firmware expects mport selectors to use different sets of values to represent a PCIe interface in mport selectors and elsewhere. In order to avoid having the user perform the conversion themselves, it is now done automatically when a selector is constructed.
In addition, a type has been added to libefx for possible PCIe interfaces. This is done to abstract different representations away from the users.
Allow to support matching traffic coming from an arbitrary PCIe end-point of the NIC and redirect traffic to it.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
92030a61 |
| 11-Oct-2021 |
Igor Romanov <[email protected]> |
common/sfc_efx/base: add mport alias MCDI wrappers
The APIs allow creation of mports for port representor traffic filtering.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: A
common/sfc_efx/base: add mport alias MCDI wrappers
The APIs allow creation of mports for port representor traffic filtering.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Reviewed-by: Ivan Malov <[email protected]>
show more ...
|
| #
3d6e8e45 |
| 11-Oct-2021 |
Igor Romanov <[email protected]> |
common/sfc_efx/base: add API to get mport selector by ID
The conversion is required when mport ID is received via mport allocation and mport selector is required for filter creation.
Signed-off-by:
common/sfc_efx/base: add API to get mport selector by ID
The conversion is required when mport ID is received via mport allocation and mport selector is required for filter creation.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Reviewed-by: Ivan Malov <[email protected]>
show more ...
|
| #
94ddd501 |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
common/sfc_efx/base: allow creating invalid mport selectors
There isn't always a valid mport that can be used. For these cases, special invalid selectors can be generated. Requests that use such sel
common/sfc_efx/base: allow creating invalid mport selectors
There isn't always a valid mport that can be used. For these cases, special invalid selectors can be generated. Requests that use such selectors in any way will be rejected.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
4ea8bb78 |
| 11-Oct-2021 |
Igor Romanov <[email protected]> |
common/sfc_efx/base: add API to get mport ID by selector
The mport ID is required to set appropriate egress mport ID in Tx prefix for port representor TxQ.
Signed-off-by: Igor Romanov <igor.romanov
common/sfc_efx/base: add API to get mport ID by selector
The mport ID is required to set appropriate egress mport ID in Tx prefix for port representor TxQ.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Reviewed-by: Ivan Malov <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1 |
|
| #
238306cf |
| 02-Jul-2021 |
Igor Romanov <[email protected]> |
common/sfc_efx/base: support counter in action set
User will be able to associate counter with MAE action set to collect counter packets and bytes for a specific action set.
Signed-off-by: Igor Rom
common/sfc_efx/base: support counter in action set
User will be able to associate counter with MAE action set to collect counter packets and bytes for a specific action set.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Reviewed-by: Ivan Malov <[email protected]>
show more ...
|
| #
c0a77efb |
| 02-Jul-2021 |
Igor Romanov <[email protected]> |
common/sfc_efx/base: add counter stream MCDI wrappers
The MCDIs will be used to control counter Rx queue packet flow.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew R
common/sfc_efx/base: add counter stream MCDI wrappers
The MCDIs will be used to control counter Rx queue packet flow.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Reviewed-by: Ivan Malov <[email protected]>
show more ...
|
| #
bbc42f34 |
| 02-Jul-2021 |
Igor Romanov <[email protected]> |
common/sfc_efx/base: add counter creation MCDI wrappers
User will be able to create and free MAE counters. Support for associating counters with action set will be added in upcoming patches.
Signed
common/sfc_efx/base: add counter creation MCDI wrappers
User will be able to create and free MAE counters. Support for associating counters with action set will be added in upcoming patches.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Reviewed-by: Ivan Malov <[email protected]>
show more ...
|
| #
aa6dc101 |
| 02-Jul-2021 |
Andrew Rybchenko <[email protected]> |
common/sfc_efx/base: support custom EvQ to IRQ mapping
Custom mapping is actually supported for EF10 and EF100 families only.
A driver (e.g. DPDK PMD) may require to customize mapping of EvQ to int
common/sfc_efx/base: support custom EvQ to IRQ mapping
Custom mapping is actually supported for EF10 and EF100 families only.
A driver (e.g. DPDK PMD) may require to customize mapping of EvQ to interrupts if, for example, extra EvQ are used for house-keeping in polling or wake up (via another EvQ) mode.
Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
37907899 |
| 24-May-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: add MAE VLAN presence match bits
Introduce necessary infrastructure for these fields to be set, validated and compared during class comparison. Enumeration and mappings envisage
common/sfc_efx/base: add MAE VLAN presence match bits
Introduce necessary infrastructure for these fields to be set, validated and compared during class comparison. Enumeration and mappings envisaged are MCDI-compatible.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
0f6b017b |
| 12-Mar-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: support adding decap action to a set
The action has no arguments.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.
common/sfc_efx/base: support adding decap action to a set
The action has no arguments.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
3907defa |
| 12-Mar-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: support adding encap action to a set
For convenience, there are two separate APIs provided, one for adding the action and one for setting the encap. header ID. This design allow
common/sfc_efx/base: support adding encap action to a set
For convenience, there are two separate APIs provided, one for adding the action and one for setting the encap. header ID. This design allows the client driver to first build the action set specification (which validates the order of the actions) and, if everything is correct, proceed with allocation of the resource utilised by the action set (encap. header). This facilitates clarity of the client code and its efficiency.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
30833168 |
| 12-Mar-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: support encap header provisioning
Let the client allocate / free encap. headers.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <andrew.rybch
common/sfc_efx/base: support encap header provisioning
Let the client allocate / free encap. headers.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
7178fbdc |
| 16-Mar-2021 |
Vijay Kumar Srivastava <[email protected]> |
common/sfc_efx: move function to get family
Move function to get efx family from net driver into common driver.
Signed-off-by: Vijay Kumar Srivastava <[email protected]> Signed-off-by: Andrew Ryb
common/sfc_efx: move function to get family
Move function to get efx family from net driver into common driver.
Signed-off-by: Vijay Kumar Srivastava <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]>
show more ...
|
| #
1adaea57 |
| 16-Mar-2021 |
Vijay Kumar Srivastava <[email protected]> |
common/sfc_efx: support getting device class
Device class argument would be used to select compatible driver. Driver probe would be skipped for incompatible device class.
Signed-off-by: Vijay Kumar
common/sfc_efx: support getting device class
Device class argument would be used to select compatible driver. Driver probe would be skipped for incompatible device class.
Signed-off-by: Vijay Kumar Srivastava <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
7a673e1a |
| 20-Oct-2020 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: support outer rule provisioning
Let the client insert / remove outer rules. Let the client refer to an inserted outer rule in a match specification of type ACTION.
Signed-off-b
common/sfc_efx/base: support outer rule provisioning
Let the client insert / remove outer rules. Let the client refer to an inserted outer rule in a match specification of type ACTION.
Signed-off-by: Ivan Malov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|