| 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 ...
|
| 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 ...
|
| 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 ...
|