diff options
author | Bin Chen <bin.chen@corigine.com> | 2023-01-12 15:11:02 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-14 08:40:01 +0300 |
commit | 9b7fe8046d7429ba776f962ad3b4b7ba2d6859c8 (patch) | |
tree | 8d58f8ee356578e6829260704a2bc25e2a23b0e7 /drivers/net/ethernet/netronome/nfp/Makefile | |
parent | bf20ce9f3040e29f806d2b290f7bddbdee9f32ad (diff) | |
download | linux-9b7fe8046d7429ba776f962ad3b4b7ba2d6859c8.tar.xz |
nfp: add DCB IEEE support
Add basic DCB IEEE support. This includes support for ETS, max-rate,
and DSCP to user priority mapping.
DCB may be configured using iproute2's dcb command.
Example usage:
dcb ets set dev $dev tc-tsa 0:ets 1:ets 2:ets 3:ets 4:ets 5:ets \
6:ets 7:ets tc-bw 0:0 1:80 2:0 3:0 4:0 5:0 6:20 7:0
dcb maxrate set dev $dev tc-maxrate 1:1000bit
And DCB configuration can be shown using:
dcb ets show dev $dev
dcb maxrate show dev $dev
Signed-off-by: Bin Chen <bin.chen@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230112121102.469739-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/Makefile')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/Makefile b/drivers/net/ethernet/netronome/nfp/Makefile index 8a250214e289..c90d35f5ebca 100644 --- a/drivers/net/ethernet/netronome/nfp/Makefile +++ b/drivers/net/ethernet/netronome/nfp/Makefile @@ -83,3 +83,5 @@ endif nfp-$(CONFIG_NFP_NET_IPSEC) += crypto/ipsec.o nfd3/ipsec.o nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o + +nfp-$(CONFIG_DCB) += nic/dcb.o |