[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d928314fccec204c36979e253b8fc4ae@braunwarth.dev>
Date: Tue, 01 Mar 2022 18:26:10 +0000
From: daniel@...unwarth.dev
To: "Stephen Hemminger" <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2-next 1/2] lib: add profinet and ethercat as
link layer protocol names
February 28, 2022 6:21 PM, "Stephen Hemminger" <stephen@...workplumber.org> wrote:
> This is legacy table. Original author did choose to use stanard
> file /etc/ethertypes. Not sure why??
I tried to extend /etc/ethertypes with the following line:
ETHERCAT 88A4 ethercat
I would expect the following command to successfully run:
tc filter add dev eno1 protocol ethercat matchall action drop
Unfortunately all I get is:
Error: argument "ethercat" is wrong: invalid protocol
With my patches applied, the command runs without any error.
I wasn't able to find any hint in the code, where /etc/ethertypes is supposed to be parsed. Could you give me a hint?
Thanks
Daniel
Powered by blists - more mailing lists