From: Bowers, AndrewX <andrewx.bowers@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH S32 02/15] ice: Add NDO callback to set the maximum per-queue bitrate
Date: Fri, 1 Nov 2019 16:41:24 +0000 [thread overview]
Message-ID: <a05f5a6f5ddc4086bfe4ddec4b011396@intel.com> (raw)
In-Reply-To: <20191025143441.50151-2-anthony.l.nguyen@intel.com>
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Friday, October 25, 2019 7:34 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S32 02/15] ice: Add NDO callback to set the
> maximum per-queue bitrate
>
> From: Usha Ketineni <usha.k.ketineni@intel.com>
>
> Allow for rate limiting Tx queues. Bitrate is set in
> Mbps(megabits per second).
>
> Mbps max-rate is set for the queue via sysfs:
> /sys/class/net/<iface>/queues/tx-<queue>/tx_maxrate
> ex: echo 100 >/sys/class/net/ens7/queues/tx-0/tx_maxrate
> echo 200 >/sys/class/net/ens7/queues/tx-1/tx_maxrate
> Note: A value of zero for tx_maxrate means disabled,
> default is disabled.
>
> Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com>
> Co-developed-by: Tarun Singh <tarun.k.singh@intel.com>
> Signed-off-by: Tarun Singh <tarun.k.singh@intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
> ---
> .../net/ethernet/intel/ice/ice_adminq_cmd.h | 46 +
> drivers/net/ethernet/intel/ice/ice_common.c | 10 +-
> drivers/net/ethernet/intel/ice/ice_common.h | 2 +
> drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 10 +
> drivers/net/ethernet/intel/ice/ice_dcb_lib.h | 8 +
> drivers/net/ethernet/intel/ice/ice_main.c | 43 +
> drivers/net/ethernet/intel/ice/ice_sched.c | 1264 ++++++++++++++++-
> drivers/net/ethernet/intel/ice/ice_sched.h | 39 +
> drivers/net/ethernet/intel/ice/ice_switch.h | 5 -
> drivers/net/ethernet/intel/ice/ice_type.h | 63 +-
> 10 files changed, 1480 insertions(+), 10 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
next prev parent reply other threads:[~2019-11-01 16:41 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-25 14:34 [Intel-wired-lan] [PATCH S32 01/15] ice: Use ice_ena_vsi and ice_dis_vsi in DCB configuration flow Tony Nguyen
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 02/15] ice: Add NDO callback to set the maximum per-queue bitrate Tony Nguyen
2019-11-01 16:41 ` Bowers, AndrewX [this message]
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 03/15] ice: Implement DCBNL support Tony Nguyen
2019-11-01 16:41 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 04/15] ice: avoid setting features during reset Tony Nguyen
2019-11-01 16:42 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 05/15] ice: Fix to change Rx/Tx ring descriptor size via ethtool with DCBx Tony Nguyen
2019-11-01 16:42 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 06/15] ice: configure software LLDP in ice_init_pf_dcb Tony Nguyen
2019-11-01 16:42 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 07/15] ice: Check if VF is disabled for Opcode and other operations Tony Nguyen
2019-11-01 16:43 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 08/15] ice: Change max MSI-x vector_id check in cfg_irq_map Tony Nguyen
2019-11-01 16:43 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 09/15] ice: use pkg_dwnld_status instead of sq_last_status Tony Nguyen
2019-11-01 16:43 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 10/15] ice: delay less Tony Nguyen
2019-11-01 16:44 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 11/15] ice: Update enum ice_flg64_bits to current specification Tony Nguyen
2019-11-01 16:44 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 12/15] ice: remove unnecessary conditional check Tony Nguyen
2019-11-01 16:44 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 13/15] ice: Introduce and use ice_vsi_type_str Tony Nguyen
2019-11-01 16:45 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 14/15] ice: use more accurate ICE_DBG mask types Tony Nguyen
2019-11-01 16:45 ` Bowers, AndrewX
2019-10-25 14:34 ` [Intel-wired-lan] [PATCH S32 15/15] ice: print opcode when printing controlq errors Tony Nguyen
2019-11-01 16:45 ` Bowers, AndrewX
2019-11-01 16:41 ` [Intel-wired-lan] [PATCH S32 01/15] ice: Use ice_ena_vsi and ice_dis_vsi in DCB configuration flow Bowers, AndrewX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a05f5a6f5ddc4086bfe4ddec4b011396@intel.com \
--to=andrewx.bowers@intel.com \
--cc=intel-wired-lan@osuosl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox