340a4864 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: add support for more threshold actions
Original FW only allowed us to perform ECN marking. Newer releases also support plain old drop. Add the ability to configure drop policy. This is
nfp: abm: add support for more threshold actions
Original FW only allowed us to perform ECN marking. Newer releases also support plain old drop. Add the ability to configure drop policy. This is particularly useful in combination with GRED, because different bands can have different ECN marking setting.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
174ab544 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: add cls_u32 offload for simple band classification
Use offload of very simple u32 filters to direct packets to GRED bands based on the DSCP marking. No u32 hashing is supported, just plai
nfp: abm: add cls_u32 offload for simple band classification
Use offload of very simple u32 filters to direct packets to GRED bands based on the DSCP marking. No u32 hashing is supported, just plain simple filters matching on ToS or Priority with appropriate mask device can support.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
14780c34 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: calculate PRIO map len and check mailbox size
In preparation for PRIO offload calculate how long the prio map for FW will be and make sure the configuration can be performed via the vNIC m
nfp: abm: calculate PRIO map len and check mailbox size
In preparation for PRIO offload calculate how long the prio map for FW will be and make sure the configuration can be performed via the vNIC mailbox.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
f3d63720 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: add GRED offload
Add support for GRED offload. It behaves much like RED, but can apply different parameters to different bands. GRED operates pretty much exactly like our HW/FW with a si
nfp: abm: add GRED offload
Add support for GRED offload. It behaves much like RED, but can apply different parameters to different bands. GRED operates pretty much exactly like our HW/FW with a single FIFO and different RED state instances.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
990b50a5 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: wrap RED parameters in bands
Wrap RED parameters and stats into a structure, and a 1-element array. Upcoming GRED offload will add the support for more bands.
Signed-off-by: Jakub Kicins
nfp: abm: wrap RED parameters in bands
Wrap RED parameters and stats into a structure, and a 1-element array. Upcoming GRED offload will add the support for more bands.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
184ec856 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: add up bands for sto/non-sto stats
Add up stats for all bands for the extra ethtool statistics.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john
nfp: abm: add up bands for sto/non-sto stats
Add up stats for all bands for the extra ethtool statistics.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
57f31bba | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: switch to extended stats for reading packet/byte counts
In PRIO-enabled FW read the statistics from per-band symbol, rather than from the standard per-PCIe-queue counters.
Signed-off-by:
nfp: abm: switch to extended stats for reading packet/byte counts
In PRIO-enabled FW read the statistics from per-band symbol, rather than from the standard per-PCIe-queue counters.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
68e98642 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: size threshold table to account for bands
Make sure the threshold table is large enough to hold information for all bands.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Rev
nfp: abm: size threshold table to account for bands
Make sure the threshold table is large enough to hold information for all bands.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
57207696 | 19-Nov-2018 |
Jakub Kicinski <jakub.kicinski@netronome.com> |
nfp: abm: pass band parameter to functions
In preparation for per-band RED offload pass band parameter to functions. For now it will always be 0.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netr
nfp: abm: pass band parameter to functions
In preparation for per-band RED offload pass band parameter to functions. For now it will always be 0.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|