LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iproute2 version 4.20 - RTNETLINK answers: No such file or directory (https://www.linuxquestions.org/questions/linux-networking-3/iproute2-version-4-20-rtnetlink-answers-no-such-file-or-directory-4175645890/)

forkingmaster 01-09-2019 11:13 PM

iproute2 version 4.20 - RTNETLINK answers: No such file or directory
 
Hi,

I am trying to load Earliest Txtime Feature (ETF) in my Linux kernel 4.19.0.
When I try to load, I am blocked by two errors saying,
  • RTNETLINK answers: Invalid Argument
  • RTNETLINK answers: No such file or directory

I want this feature to be enabled to get time triggered send working. Any help on this would be appreciated!

System details:
Operating system: Linux Mint 18.1
Linux kernel: 4.19.0

nini09 01-11-2019 02:21 PM

What ETF do you talk about, tc-etf or something else?

forkingmaster 01-16-2019 07:02 AM

Yes, You are right. I meant the ETF feature available under tc.

nini09 01-17-2019 03:09 PM

What's output of "tc qdisc show"? The command can check tc package status.

forkingmaster 01-17-2019 11:02 PM

Quote:

Originally Posted by nini09 (Post 5950289)
What's output of "tc qdisc show"? The command can check tc package status.

Output of "tc qdisc show" gives the default pfifo scheduling policies available in the interface. When I try to replace it with my own scheduling policy using ETF feature, it throws me two error saying the following:
  • RTNETLINK answers: Invalid Argument
  • RTNETLINK answers: No such file or directory

Example commands I am trying to load in interface:
tc qdisc replace dev enp2s0 parent root mqprio num_tc 3 map 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@1 2@2 hw 0
tc qdisc add dev enp2s0 parent 100:1 etf offload delta 200000 clockid CLOCK_TAI


Thanks in advance!

nini09 01-22-2019 03:40 PM

It look like the socket in your Linux kernel doesn't support SO_TXTIME socket option.

forkingmaster 01-23-2019 03:51 AM

Quote:

Originally Posted by nini09 (Post 5952144)
It look like the socket in your Linux kernel doesn't support SO_TXTIME socket option.

SO_TXTIME facility is available in the kernel I am working on (v4.19.0). [Link: https://git.kernel.org/pub/scm/linux...?h=v4.19#n1030]

With default scheduling available in i210 NIC, I am able to use SO_TXTIME feature. My issue is, I face difficulties in scheduling the data based on priority using ETF kernel module.

nini09 01-23-2019 02:24 PM

The priority packet is different module. You need check whether the module is on.


All times are GMT -5. The time now is 04:09 PM.