aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tdc_helper.py
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-02-14 15:44:05 -0500
committerDavid S. Miller <davem@davemloft.net>2018-02-14 15:44:05 -0500
commitbdc8587ad75d9a42a8165f932c2dfff4d5b877e4 (patch)
tree7041ffc32c4c483394b96afaab20ece8743c1c0d /tools/testing/selftests/tc-testing/tdc_helper.py
parentkcm: Call strp_stop before strp_done in kcm_attach (diff)
parenti40e: Add and delete cloud filter (diff)
downloadlinux-dev-bdc8587ad75d9a42a8165f932c2dfff4d5b877e4.tar.xz
linux-dev-bdc8587ad75d9a42a8165f932c2dfff4d5b877e4.zip
Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
Jeff Kirsher says: ==================== 40GbE Intel Wired LAN Driver Updates 2018-02-14 This patch series enables the new mqprio hardware offload mechanism creating traffic classes on VFs for XL710 devices. The parameters needed to configure these traffic classes/queue channels are provides by the user via the tc tool. A maximum of four traffic classes can be created on each VF. This patch series also enables application of cloud filters to each of these traffic classes. The cloud filters are applied using the tc-flower classifier. Example: 1. tc qdisc add dev vf0 root mqprio num_tc 4 map 0 0 0 0 1 2 2 3\ queues 2@0 2@2 1@4 1@5 hw 1 mode channel 2. tc qdisc add dev vf0 ingress 3. ethtool -K vf0 hw-tc-offload on 4. ip link set eth0 vf 0 spoofchk off 5. tc filter add dev vf0 protocol ip parent ffff: prio 1 flower dst_ip\ 192.168.3.5/32 ip_proto udp dst_port 25 skip_sw hw_tc 2 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_helper.py')
0 files changed, 0 insertions, 0 deletions