|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
0fb3e8a9 |
| 25-Oct-2021 |
Ivan Malov <[email protected]> |
net/sfc: support represented port flow item
Add support for item REPRESENTED_PORT to match on traffic entering the embedded switch from the entity represented by the given ethdev (network port or VF
net/sfc: support represented port flow item
Add support for item REPRESENTED_PORT to match on traffic entering the embedded switch from the entity represented by the given ethdev (network port or VF).
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]>
show more ...
|
| #
3419c9a7 |
| 25-Oct-2021 |
Ivan Malov <[email protected]> |
net/sfc: rename ethdev m-port retrieval helper
The function in question has an unfortunate name that reads like finding a SW switch port entry. In fact just one of the two m-ports is retrieved from
net/sfc: rename ethdev m-port retrieval helper
The function in question has an unfortunate name that reads like finding a SW switch port entry. In fact just one of the two m-ports is retrieved from that entry.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]>
show more ...
|
| #
b7b7b9f8 |
| 25-Oct-2021 |
Ivan Malov <[email protected]> |
net/sfc: do not allow flow rules to refer to VF representors
VF representors do not own dedicated m-ports and thus cannot be referred to as traffic endpoints in flow items or actions.
Fixes: a62ec9
net/sfc: do not allow flow rules to refer to VF representors
VF representors do not own dedicated m-ports and thus cannot be referred to as traffic endpoints in flow items or actions.
Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure") Fixes: f55b61cec94a ("net/sfc: support port representor flow item")
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]>
show more ...
|
| #
26706314 |
| 15-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
net/sfc: implement transfer proxy port callback
In sfc, MAE admin serves as a transfer proxy. In order to track which ethdev is privileged, augment every independent switch port structure with infor
net/sfc: implement transfer proxy port callback
In sfc, MAE admin serves as a transfer proxy. In order to track which ethdev is privileged, augment every independent switch port structure with information about its MAE privilege.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
599e4e9a |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
net/sfc: support representor info get
Let the driver provide the user with information about available representors by implementing the representor_info_get operation.
Due to the lack of any struct
net/sfc: support representor info get
Let the driver provide the user with information about available representors by implementing the representor_info_get operation.
Due to the lack of any structure to representor IDs, every ID range describes exactly one representor.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
6ded2e01 |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
net/sfc: support new representor parameter syntax
Allow the user to specify representor entities using the structured parameter values.
Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov
net/sfc: support new representor parameter syntax
Allow the user to specify representor entities using the structured parameter values.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
c75d560d |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
net/sfc: include controller and port in representor name
Make representor names unique on multi-host configurations.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Sign
net/sfc: include controller and port in representor name
Make representor names unique on multi-host configurations.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
768d1e44 |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
net/sfc: store PCI address for represented entities
This information will be useful when representor info API is implemented.
Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs
net/sfc: store PCI address for represented entities
This information will be useful when representor info API is implemented.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
44db08d5 |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
net/sfc: maintain controller to EFX interface mapping
Newer hardware may have arbitrarily complex controller configurations, and for this reason the mapping has been made dynamic: it is represented
net/sfc: maintain controller to EFX interface mapping
Newer hardware may have arbitrarily complex controller configurations, and for this reason the mapping has been made dynamic: it is represented with a dynamic array that is indexed by controller numbers and each element contains an EFX interface number. Since the number of controllers is expected to be small, this approach should not hurt the performance.
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
c7e64eea |
| 11-Oct-2021 |
Viacheslav Galaktionov <[email protected]> |
net/sfc: free MAE lock once switch domain is assigned
If for some reason the hardware switch ID initialization function fails, MAE lock is still held after the function finishes. This patch fixes th
net/sfc: free MAE lock once switch domain is assigned
If for some reason the hardware switch ID initialization function fails, MAE lock is still held after the function finishes. This patch fixes that.
Fixes: 1e7fbdf0ba19 ("net/sfc: support concept of switch domains/ports") Cc: [email protected]
Signed-off-by: Viacheslav Galaktionov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
98d26ef7 |
| 11-Mar-2021 |
Andrew Rybchenko <[email protected]> |
net/sfc: update copyright year
Bump copyright year to 2021.
Signed-off-by: Andrew Rybchenko <[email protected]>
|
|
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 |
|
| #
1fb65e4d |
| 20-Oct-2020 |
Ivan Malov <[email protected]> |
net/sfc: support flow action port ID in transfer rules
The action handler will use MAE action DELIVER with MPORT of the PCIe function associated with a given DPDK port ID. The DPDK port must not rel
net/sfc: support flow action port ID in transfer rules
The action handler will use MAE action DELIVER with MPORT of the PCIe function associated with a given DPDK port ID. The DPDK port must not relate to a different physical device.
Signed-off-by: Ivan Malov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| #
1e7fbdf0 |
| 20-Oct-2020 |
Ivan Malov <[email protected]> |
net/sfc: support concept of switch domains/ports
A later patch will add support for RTE flow action PORT_ID to MAE backend. The driver has to ensure that such actions refer to RTE ethdev instances d
net/sfc: support concept of switch domains/ports
A later patch will add support for RTE flow action PORT_ID to MAE backend. The driver has to ensure that such actions refer to RTE ethdev instances deployed on top of the same physical device. Also, the driver needs a means to find sibling RTE ethdev instances when parsing such actions.
In order to solve these problems, add a switch infrastructure which allocates switch domains based on persistence of device serial number string across switch ports included in a domain. Explain mapping between RTE switch port IDs and MAE endpoints.
Signed-off-by: Ivan Malov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|