Giter Club home page Giter Club logo

iproute2's People

Contributors

amirv avatar andhe avatar asbjornst avatar borkmann avatar contyk avatar dcaratti avatar dpward avatar dsahern avatar ebiederm avatar jhsmt avatar jpirko avatar julienfortin avatar kaber avatar liuhangbin avatar masatake avatar mkubecek avatar nicolasdichtel avatar qsn avatar roidayan avatar roopa-prabhu avatar serhepopovych avatar shemminger avatar shorman-netronome avatar subrav avatar tgraf avatar thomasjfox avatar vapier avatar vkochan avatar xemul avatar yotamgi avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

yh1198015532

iproute2's Issues

Unknown qdisc "taprio", hence option is unparsable

I used the ubuntu 18.04 with Linux kernel 5.0.1 including "taprio" drivers at Networking support --> Networking options --> QOS and /or fair queueing. But when I run the "tc qdisc replace dev eth0 parent root handle 100 taprio " command, it gives error: "Unknown qdisc "taprio", hence option is unparsable". I wonder how to make the Linux support taprio. Can you give me a more detailed kernel configuration? Look forward to your kind reply. Thanks!

RTNETLINK answers: Operation not supported

Hi @jeez @vcgomes ,

I was reading about the previously closed issue with respect to loading of ETF in dual core PCs. I was able to follow that and I got the mqprio qdisc loaded in my system successfully.

But when I try adding ETF as child to mqprio qdisc, system replies me " RTNETLINK answers: Operation not supported" error. Help me in solving this.

System details:
Linux x86 with 4.19 kernel and iproute2 4.19 version

Commands used:
sudo tc qdisc replace dev IFACE parent root handle 100 mqprio num_tc 2 map 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 queues 1@0 1@1 hw 0
sudo tc qdisc add dev IFACE parent 100:1 etf offload clockid CLOCK_TAI delta 150000

Packets are dropped due to overlimits

Hi @vcgomes,

In the recent times, I see that UDP packets are being dropped in kernel due to overlimits. I was reading a bit to understand the term "overlimits" in tc qdisc. From the study I infer that, it is the delay caused by qdisc and that's the reason packets are dropped when the txtime expires waiting in queue to be dequeued. Am I right? Or correct me if am wrong?

image

May I know why this scenario comes in?

RTNETLINK answers: Invalid Argument

Hi there,

I am working on time triggered send feature using ETF option. After installation of iproute2 package with ETF support, I am unable to schedule using ETF feature in i210.

I am getting the following errors:

  • RTNETLINK answers: Invalid Argument
  • RTNETLINK answers: No such file or directory

I have enabled ETF and CBS option in kernel and verified loaded modules. But still the above mentioned error persists when scheduling is loaded.
@jeez Any help on this would be appreciated!

CBS mechanism

Hi all:
I 've read this demo(https://patchwork.kernel.org/patch/10412213/) . it's awesome and expounds details step by setps about mqprio and cbs mechanism. but still i got questions , after traffic steering to different TX queue for their socker priority, what rule will TX queues follow to decide which pkt be the first to leave nic? Is TX0 have the highest priority to send pkt? or it depends on L2 priority field? really confusing about it , thanks.

RTNETLINK answers: No such file or directory, "Failed to find specified qdisc"

Problem: When I run tc tool with "etf" it give Error: RTNETLINK answers: No such file or directory

I am quiet sure it is because some driver is missing in my Linux kernel: .config File.

Could you please let me know which Driver modules are explicitly required for ETF.

Command:
DSx86_32:/exchange/local# ./tc qdisc replace dev eth1 parent 100:1 etf clockid CLOCK_TAI delta 300000 offload
RTNETLINK answers: No such file or directory
DSx86_32:/exchange/local#

STRACE Output:

recvmsg(3, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=120, type=NLMSG_ERROR, flags=NLM_F_ACK_TLVS, seq=1556017543, pid=2034}, {error=-ENOENT, msg={{len=64, type=0x24 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK|0x500, seq=1556017543, pid=0}, "\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x01\x00\x00\x00\x00\x08\x00\x01\x00\x6 5\x74\x66\x00\x14\x00\x02\x00"...}, {{nla_len=35, nla_type=NLMSGERR_ATTR_MSG}, "Failed to find specified qdisc"}}}, iov_len=32768}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 120
write(2, "RTNETLINK answers: No such file "..., 45RTNETLINK answers: No such file or directory
) = 45

Similar Problem I faced in past when used Tc tool with "mqprio" and "taprio" but it was solved when I included driver for respective feature.

for ex: Taprio works after including drivers at Networking support --> Networking options --> QOS and /or fair queueing

And

mqprio work after including all driver at Networking support --> Networking options --> Netfilter --> core netfilter configuration

you are requested to give your view.

Thanks & Regards
Bhaskar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.