码迷,mamicode.com
首页 > 其他好文 > 详细

tc filter

时间:2021-03-05 13:09:54      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:lin   map   rri   dpdk   ica   cal   mode   cas   load   

 

[root@localhost dpdk-19.11]#  tc qdisc show dev enp125s0f0
qdisc pfifo_fast 0: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
[root@localhost dpdk-19.11]# 

 

[root@localhost dpdk-19.11]# ip link list dev  enp125s0f1
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether b0:08:75:5f:b7:da brd ff:ff:ff:ff:ff:ff
[root@localhost dpdk-19.11]# 

 

技术图片

 

 

 

[root@localhost dpdk-19.11]#  ip link set dev enp125s0f1  txqueuelen 2000
[root@localhost dpdk-19.11]# ip link list dev  enp125s0f1
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 2000
    link/ether b0:08:75:5f:b7:da brd ff:ff:ff:ff:ff:ff
[root@localhost dpdk-19.11]# 

 

 

技术图片

 

 

[root@localhost dpdk-19.11]#  ip link set dev enp125s0f1  txqueuelen 2000
[root@localhost dpdk-19.11]# ip link list dev  enp125s0f1
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 2000
    link/ether b0:08:75:5f:b7:da brd ff:ff:ff:ff:ff:ff
[root@localhost dpdk-19.11]# tc qdisc replace dev enp125s0f1 root prio
[root@localhost dpdk-19.11]# ip link list dev  enp125s0f1
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc prio state DOWN mode DEFAULT group default qlen 2000
    link/ether b0:08:75:5f:b7:da brd ff:ff:ff:ff:ff:ff
[root@localhost dpdk-19.11]# 

 

技术图片

 

 

[root@localhost dpdk-19.11]#  tc qdisc show dev  enp125s0f1
qdisc prio 8001: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
[root@localhost dpdk-19.11]# 

 

tc filter

标签:lin   map   rri   dpdk   ica   cal   mode   cas   load   

原文地址:https://www.cnblogs.com/dream397/p/14482475.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!