| a3b2ade4 | 17-Feb-2022 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: add missing handler for 1-byte fields
One may set RECIRC_ID in a MAE action rule specification. This field is not a network one, and its handling goes to the code snippet which
common/sfc_efx/base: add missing handler for 1-byte fields
One may set RECIRC_ID in a MAE action rule specification. This field is not a network one, and its handling goes to the code snippet which does not recognise field sizes other than 4 bytes. Add the missing handler.
Fixes: 3a73dcfdb255 ("common/sfc_efx/base: match on recirc ID in action rules") Cc: [email protected]
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| 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 ...
|
| 7a71c15d | 01-Feb-2022 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: refactor RSS table entry count name
In the existing code, "n" is hardly a clear name for that. Use a clearer name to help future maintainers of the code.
Signed-off-by: Ivan Ma
common/sfc_efx/base: refactor RSS table entry count name
In the existing code, "n" is hardly a clear name for that. Use a clearer name to help future maintainers of the code.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| 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 ...
|
| ecf2cb28 | 05-Nov-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: factor out no-op helper functions
When an action gets added to an action set, a special helper is used to handle its arguments. There are actions which have no arguments, and th
common/sfc_efx/base: factor out no-op helper functions
When an action gets added to an action set, a special helper is used to handle its arguments. There are actions which have no arguments, and the corresponding helpers are duplicates in fact. Use a unified no-op helper instead of them.
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
show more ...
|
| e8745b54 | 05-Nov-2021 |
Ivan Malov <[email protected]> |
common/sfc_efx/base: refine adding count action to set
1) Invalid counter ID is always set by default. Do not set it again when adding the action.
2) Counter ID validity check is missing in the
common/sfc_efx/base: refine adding count action to set
1) Invalid counter ID is always set by default. Do not set it again when adding the action.
2) Counter ID validity check is missing in the action set allocation helper. Introduce it.
Fixes: 238306cf9aff ("common/sfc_efx/base: support counter in action set") Cc: [email protected]
Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Andy Moreton <[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 ...
|