S32G2 Linux LLCE debugfs interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G2 Linux LLCE debugfs interface

Jump to solution
10,121 Views
m_bez
Contributor II

I'm trying to set up LLCE filters to route some messages on can10 to can11, and route other messages to the host.

First, I would like to ask where the documentation for the debugfs interface is. There is an example in the S32G2_LinuxBSP_42.0_User_Manual.pdf, and modifying this allows the creation of filters between interfaces. However, I'm not sure how to create a filter that uses a mask or ID to send some traffic to the Linux host.

The file /sys/kernel/debug/llce_can_core/can_destinations/add/README refers to the LLCE Firmware User Guide. Where can I find this document, or perhaps some more examples of LLCE filter configurations?

0 Kudos
Reply
1 Solution
8,466 Views
carlos_o
NXP TechSupport
NXP TechSupport

Apologies for the misunderstanding here are some comments to improve the script that you share and some explanations.

1.  "echo 0x7FF > /sys/kernel/debug/llce_can_core/can_filters/add/can_mask_id" means that only standard frames are received. The CAN ID of the standard frame is 11 bits, so the can_mask_id is 0x7FF, which means that only the lower 11 bits are concerned when the mask matches. If it is an extended frame ID (29-bit ID), change 0x7FF to 0x1FFFFFFF. If you want to ignore some bits, fill them with 0, for example, 0x7F0 means the last 4 bits are ignored.

2.  "echo mask > /sys/kernel/debug/llce_can_core/can_filters/add/entry" The mask here is not the incoming parameter mask_id, but the configuration filter mode is mask match or exact match, so you cannot mistakenly assign mask as an incoming parameter.

3.  "0xe > /sys/kernel/debug/llce_can_core/can_filters/add/tag" When configuring the basic filter, the tag value is strongly related to the channel. Here, 0xe corresponds to channel 14. You use channel 11, so it should be changed to "0xb > /sys/kernel/debug/llce_can_core/can_filters/add/tag"

View solution in original post

0 Kudos
Reply
33 Replies
7,814 Views
m_bez
Contributor II

I've looked at the firmware user guide, but I can't see any reference to the debugfs interface. Specifically, I'm having trouble creating a filter that sends traffic to the host, based on a mask, without forwarding that traffic to a different interface. This should be possible, since such filters are the ones set up by default:

```
oot@s32g274a-n4c0a53:~# cat /sys/kernel/debug/llce_can_core/can_filters/list
hw_ctrl status can_mask_id msg_id tag mb_count addr rx_intf entry mb_type | opt_auth opt_host
logging opt_custom can_dest
0 enabled 0x00000000 0x00000000 0x0000 0x0010 512 15 mask long |
1 enabled 0x00000000 0x00000000 0x0001 0x0010 513 14 mask long |
2 enabled 0x00000000 0x00000000 0x0002 0x0010 514 13 mask long |
3 enabled 0x00000000 0x00000000 0x0003 0x0010 515 12 mask long |
4 enabled 0x00000000 0x00000000 0x0004 0x0010 516 11 mask long |
5 enabled 0x00000000 0x00000000 0x0005 0x0010 517 10 mask long |
6 enabled 0x00000000 0x00000000 0x0006 0x0010 518 9 mask long |
7 enabled 0x00000000 0x00000000 0x0007 0x0010 519 8 mask long |
8 enabled 0x00000000 0x00000000 0x0008 0x0010 520 7 mask long |
9 enabled 0x00000000 0x00000000 0x0009 0x0010 521 6 mask long |
10 enabled 0x00000000 0x00000000 0x010a 0x0010 522 5 mask short |
11 enabled 0x00000000 0x00000000 0x010b 0x0010 523 4 mask short |
```

But I need to create a filter similar to these, only with a mask other than 0x00000000

0 Kudos
Reply
7,802 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez,

Please refer to the chapter 12.3.5.1 CAN2CAN demo of the BSP User Manual.

There is an example adding a filter with a custom msg_id.

Screenshot 2025-02-06 135518.png

[Page 104, Linux BSP 42.0 User Manual for S32G2 platforms] 

0 Kudos
Reply
7,782 Views
m_bez
Contributor II

Yes, this is the interface I'm having trouble with. I have some questions about that example

First, how do I set up the filter to communicate with the host linux system? How do I configure the lice_can_destination to not use a different CAN interface?

Second, if I were to use another channel to achieve the same, and I set opt_host to I, then the first message behaves as expected, but then no messages get forwarded, and I start getting bus errors after 16 messages

0 Kudos
Reply
7,768 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez,

I found the following information used as example for this:

"

# llcecan link up
ip link set up llcecan14 type can bitrate 500000 dbitrate 5000000 fd on
ip link set up llcecan15 type can bitrate 500000 dbitrate 5000000 fd on

# disable current basic filter
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/set_status/status
echo 512 > /sys/kernel/debug/llce_can_core/can_filters/set_status/addr
echo 1 > /sys/kernel/debug/llce_can_core/can_filters/set_status/execute
echo 513 > /sys/kernel/debug/llce_can_core/can_filters/set_status/addr
echo 1 > /sys/kernel/debug/llce_can_core/can_filters/set_status/execute

# llcecan14 basic filter

echo 0xFF > /sys/kernel/debug/llce_can_core/can_filters/add/can_dest
echo 0x7F0 > /sys/kernel/debug/llce_can_core/can_filters/add/can_mask_id
echo mask > /sys/kernel/debug/llce_can_core/can_filters/add/entry
echo 14 > /sys/kernel/debug/llce_can_core/can_filters/add/hw_ctrl
echo 0xe > /sys/kernel/debug/llce_can_core/can_filters/add/tag
echo 0x10 > /sys/kernel/debug/llce_can_core/can_filters/add/mb_count
echo long > /sys/kernel/debug/llce_can_core/can_filters/add/mb_type
echo 0x543 > /sys/kernel/debug/llce_can_core/can_filters/add/msg_id
echo enabled > /sys/kernel/debug/llce_can_core/can_filters/add/status
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/opt_auth
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/opt_custom
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/opt_host
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/logging
echo 1 > /sys/kernel/debug/llce_can_core/can_filters/add/execute

candump any,0:0,#FFFFFFFF >log &

# accepted
cansend llcecan15 546#22335566

#discarded
cansend llcecan15 556#22335566

"

About your first questions. Do you want the filter only to communicate with the host? or communicate with the host and simultaneously send it to another llce_can?

Could you explain in more detail the behavior of your second question?

0 Kudos
Reply
7,687 Views
m_bez
Contributor II

Hey @carlos_o , thanks for the help.

> I found the following information used as example for this:
I'll work through the example, but it looks like OPT_HOST is disabled, and the previeous example you gave indicates that this disables host communication


> Do you want the filter only to communicate with the host
Some Addresses need to be sent to the host


> or communicate with the host and simultaneously send it to another llce_can?
All other traffic not sent to the host should be sent to another interface.


> Could you explain in more detail the behavior of your second question?
The filter and host are set up as follows:
```
hw_ctrl status can_mask_id msg_id tag mb_count addr rx_intf entry mb_type | opt_auth opt_host logging opt_custom can_dest
10 disabled 0x00000000 0x00000000 0x0000 0x0010 524 5 mask short | disabled enabled disabled disabled 0
id routing_opts can_id_remap ch_list
0 0x00000000 0x00000000 11
```
If I send a single message to can10, it gets routed to can 11, as well as the host. Messages after that do not get routed. After I've sent 16 messages without one being delivered, the can interface on the host starts reporting a bus error every time I send a message.



0 Kudos
Reply
7,674 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez,

The example only is for reference to how to configure the filters.

Thanks for clarifying your goal with the filters, let me know the results you get and if it solves the problem with the bus error msg. 

0 Kudos
Reply
7,649 Views
m_bez
Contributor II

> The example only is for reference
Tee example doesn't include the creation of destinations, does this still need to happen? or is destination 0xFF created by default?
> let me know the results
The value of the mask_id (0x7F) doesn't make sense to me. How does it relate to the addresses being filtered? All other parameters in the example make sense to me, and are already how I configure the filters, but it has no host communication.


0 Kudos
Reply
7,564 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez,

Q: Tee example doesn't include the creation of destinations, does this still need to happen? or is destination 0xFF created by default?

A: Yes, you still need to create a destination.

Q: The value of the mask_id (0x7F) doesn't make sense to me. How does it relate to the addresses being filtered? All other parameters in the example make sense to me, and are already how I configure the filters, but it has no host communication.

A: This mask_id is only an example and work as if you put a mask id in a CAN communication to take some action when a msg arrive with some id that pass the mask. 

Also, to enable the communication with the host you only need to set the opt_host config to "enable" 

All the subdirectories at the /sys/kernel/debug/llce_can_core/ have a README file that explain the possible configurations. 

0 Kudos
Reply
7,537 Views
m_bez
Contributor II

Thanks for your response. However, setting opt_host to "enabled" causes unexpected behavior as described earlier. Specifically, when opt_host is enabled, the first message behaves as expected, but subsequent messages do not get forwarded, and after 16 messages, the CAN interface on the host starts reporting bus errors.

Could you provide more detailed guidance on how to configure the filter to communicate with the host without causing these issues?

0 Kudos
Reply
7,307 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez

It seems like the filter status of your filter is disable. Could you please enable it with "echo enabled > /sys/kernel/debug/llce_can_core/can_filters/add/status"?

Retry to send the data after that and let me know the results. 

0 Kudos
Reply
7,296 Views
m_bez
Contributor II

hey @carlos_o, if I set the filter explicitly to enabled before executing, I get a permission error trying to write to the file
`/sys/kernel/debug/llce_can_core/can_filters/add/set_status: Permission denied`
If I list the filters after, they seem to be enumerated as enabled in any case
```
root@s32g274a-n4c0a53:~# cat /sys/kernel/debug/llce_can_core/can_filters/list
hw_ctrl status can_mask_id msg_id tag mb_count addr rx_intf entry mb_type | opt_auth opt_host
logging opt_custom can_dest
0 enabled 0x00000000 0x00000000 0x0000 0x0010 512 15 mask long |

1 enabled 0x00000000 0x00000000 0x0001 0x0010 513 14 mask long |

2 enabled 0x00000000 0x00000000 0x0002 0x0010 514 13 mask long |
3 enabled 0x00000000 0x00000000 0x0003 0x0010 515 12 mask long |
4 enabled 0x00000000 0x00000000 0x0004 0x0010 516 11 mask long |
5 enabled 0x00000000 0x00000000 0x0005 0x0010 517 10 mask long |
6 enabled 0x00000000 0x00000000 0x0006 0x0010 518 9 mask long |
7 enabled 0x00000000 0x00000000 0x0007 0x0010 519 8 mask long |
8 enabled 0x00000000 0x00000000 0x0008 0x0010 520 7 mask long |
9 enabled 0x00000000 0x00000000 0x0009 0x0010 521 6 mask long |
10 disabled 0x00000000 0x00000000 0x010a 0x0010 522 5 mask short |
11 disabled 0x00000000 0x00000000 0x010b 0x0010 523 4 mask short |
10 enabled 0x00000000 0x00000000 0x0000 0x0010 524 5 mask short | disabled enabled disabled disabled 0
11 enabled 0x00000000 0x00000000 0x0000 0x0010 525 4 mask short | disabled enabled disabled disabled 1

```

Setting the status works, if I write, the address, "disabled" and execute into the respective files in `/sys/kernel/debug/llce_can_core/can_filters/set_status`, then the status visibly changes form 'enabled' to 'disabled' when I list the filters.

Enabling and disabling the filter doesn't seem to affect the behvior initially. It still only forwards a single message and reports bus errors after 16 messages. Once it starts reporting bus errors, disabling and enabling the filter doesn't make it forward a single message again. That only happens if I reboot and reconfigure the filter.

0 Kudos
Reply
7,295 Views
m_bez
Contributor II
Some more info that might be of use, the errors that get generated increment the values in
/sys/class/net/llcecan10/statistics/rx_dropped
and
/sys/class/net/llcecan10/statistics/rx_errors

For the two llcecan interfaces in question.
0 Kudos
Reply
7,260 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez,

The Internal team shares the following example of the complete configuration of a filter:

# llcecan link up
ip link set up llcecan14 type can bitrate 500000 dbitrate 5000000 fd on
ip link set up llcecan15 type can bitrate 500000 dbitrate 5000000 fd on

# disable current basic filter
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/set_status/status
echo 512 > /sys/kernel/debug/llce_can_core/can_filters/set_status/addr
echo 1 > /sys/kernel/debug/llce_can_core/can_filters/set_status/execute
echo 513 > /sys/kernel/debug/llce_can_core/can_filters/set_status/addr
echo 1 > /sys/kernel/debug/llce_can_core/can_filters/set_status/execute

# llcecan14 basic filte

echo 0xFF >  /sys/kernel/debug/llce_can_core/can_filters/add/can_dest
echo 0x7F0 > /sys/kernel/debug/llce_can_core/can_filters/add/can_mask_id
echo mask > /sys/kernel/debug/llce_can_core/can_filters/add/entry
echo 14 > /sys/kernel/debug/llce_can_core/can_filters/add/hw_ctrl
echo 0xe > /sys/kernel/debug/llce_can_core/can_filters/add/tag
echo 0x10 > /sys/kernel/debug/llce_can_core/can_filters/add/mb_count
echo long > /sys/kernel/debug/llce_can_core/can_filters/add/mb_type
echo 0x540 > /sys/kernel/debug/llce_can_core/can_filters/add/msg_id
echo enabled > /sys/kernel/debug/llce_can_core/can_filters/add/status
echo 1 > /sys/kernel/debug/llce_can_core/can_filters/add/execute

After executing the above command, a filter as shown below will be created.

carlos_o_0-1739988050013.png

# Create a destination to be used for LLCE CAN14→LLCE CAN15 route.
echo 0x0 > /sys/kernel/debug/llce_can_core/can_destinations/add/can_id_remap
echo 15 > /sys/kernel/debug/llce_can_core/can_destinations/add/ch_list
echo 0x1 > /sys/kernel/debug/llce_can_core/can_destinations/add/routing_opts
echo 1 > /sys/kernel/debug/llce_can_core/can_destinations/add/execute
cat /sys/kernel/debug/llce_can_core/can_destinations/add/execute > \
/sys/kernel/debug/llce_can_core/can_filters/add/can_dest
echo 0x7F0 > /sys/kernel/debug/llce_can_core/can_filters/add/can_mask_id
echo mask > /sys/kernel/debug/llce_can_core/can_filters/add/entry
echo 14 > /sys/kernel/debug/llce_can_core/can_filters/add/hw_ctrl
echo 0xe > /sys/kernel/debug/llce_can_core/can_filters/add/tag
echo 0x10 > /sys/kernel/debug/llce_can_core/can_filters/add/mb_count
echo long > /sys/kernel/debug/llce_can_core/can_filters/add/mb_type
echo 0x530 > /sys/kernel/debug/llce_can_core/can_filters/add/msg_id
echo enabled > /sys/kernel/debug/llce_can_core/can_filters/add/status
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/opt_auth
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/opt_custom
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/opt_host
echo disabled > /sys/kernel/debug/llce_can_core/can_filters/add/logging
echo 1 > /sys/kernel/debug/llce_can_core/can_filters/add/execute

After executing the above command, an additional filter will be created as shown in the figure below.

carlos_o_1-1739988082656.png

You need to disable the unused filters in the filter list to prevent interference between filters. After testing, the first filter will receive IDs between 0x540~0x54F to the host, and route IDs between 0x530~0x53F to llcecan15. If you need a CAN frame to be received by the host and routed to another channel at the same time, opt_host enable of the corresponding filter is required.

 

 

 

0 Kudos
Reply
7,245 Views
m_bez
Contributor II

Hey @carlos_o 

Thank you very much, this is very helpful, I'm happy to report that the filter is added to the list as expected. However, the filter doesn't work. As a sanity check, I've created a filter that exactly replicates the default one, with a mask of 0x000000. When I do this, I get traffic on the interface before I recreate the filter, but nothing after. I don't see any values increasing in `/sys/class/net/llcecan10/statistics/` that would indicate an error.
Due to hardware constraints, I'm using different interfaces (llcecan10 and llcecan11), and normal CAN in stead of canFD, so I've needed to change the example slightly. I'm attaching the script I'm using to test this. Could you please check if I'm making some mistake, or if the behavior is indeed unexpected.

I also tried to create an exact matching filter, for address 0x77, from the example in the documentation, but the interface just stops receiving communication.

the interface is up when I check `ip link show`, and if I do `cansend 000#AABBCCDD` the interface is able to send frames correctly. It just stops receiving frames once I create the basic filter that is exactly the same as the default filter:

```

root@s32g274a-n4c0a53:~# cat /sys/kernel/debug/llce_can_core/can_filters/list
hw_ctrl status can_mask_id msg_id tag mb_count addr rx_intf entry mb_type | opt_auth opt_host logging opt_custom can_dest
0 enabled 0x00000000 0x00000000 0x0000 0x0010 512 15 mask long |
[...]
8 enabled 0x00000000 0x00000000 0x0008 0x0010 520 7 mask long |
9 enabled 0x00000000 0x00000000 0x0009 0x0010 521 6 mask long |
10 enabled 0x00000000 0x00000000 0x010a 0x0010 522 5 mask short |
11 disabled 0x00000000 0x00000000 0x010b 0x0010 523 4 mask short |
11 enabled 0x00000000 0x00000000 0x000e 0x0010 524 4 mask short |

```

Another question about the example, could you please explain the 0x7F0 values that get written to /sys/kernel/debug/llce_can_core/can_filters/add/can_mask_id for both filters?

0 Kudos
Reply
7,226 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez,

great to hear that you were able to configure the filter. 

Could you please share a log file with an example of the error you are getting? 

0 Kudos
Reply
7,213 Views
m_bez
Contributor II

Hey @carlos_o ,

I'm not getting an error per sé, the llececan interface just stops receiving packets after I've created the filter. The script I've attached runs fine without any errors, but then the output of
"candump any,0:0,#FFFFFFFF" gives no output, whereas before running the script it was printing whatever was on the bus.
I specifically checked for network errors in `/sys/class/net/llcecan10/statistics/`, but there are none.

0 Kudos
Reply
7,059 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez,

Could you please help me with a step-by-step to reproduce the issue?

This to the objective to reproduce the issue at my end. 

0 Kudos
Reply
7,049 Views
m_bez
Contributor II
 

Hey @carlos_o, sure thing!

1) modify the llcecan11 line in `/etc/llce_config/llce_init.sh` to be `ip link set up llcecan11 type can bitrate 500000`
2) With another CAN device, connect to llce11. I'm using a laptop with ubuntu 24.04 and a PEAK-USB device.
3) From the other device, send some can traffic to the S32 device. In my case, the commands on the laptop are:
`sudo ip link set up can1 up type can bitrate 500000`
`cansend can0 000#deadbeef`
4) on the S32, confirm that the can messages are being received using `candump any,0:0,#FFFFFFFF`
5) on the S32, run the script called `setup_llce_NXP_Example.sh`. It's the same as one attached to an earlier post in this discussion
6) inspect `/sys/kernel/debug/llce_can_core/can_filters/list` to see that the original filter on llcecan11 was disabled, and a new, identical filter was created by the script.
7) After running the script, do ``candump any,0:0,#FFFFFFFF`` again.
from the laptop, send some more CAN traffic
9) On my device the CAN traffic is not received after running the script, while I expect it to be.
I'm attaching the script again, as well as a screenshot of the two terminal sessions, for clarity. The top terminal is the laptop, and the bottom one is an SSH session to the S32 device.

 

0 Kudos
Reply
7,025 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @m_bez

I notice as you say in this thread that the filter that you are setting does not have another destination, why you did not put HIF (host interface) as destination?

Screenshot 2025-02-27 181100.png

In this case the error can be because the can destination you are setting is not initialized. Another option can be initializing another llce can interface and put it as destination of the filter. 

0 Kudos
Reply
7,006 Views
m_bez
Contributor II

Hey @carlos_o 

 

I've described the behavior when I use a different destination already:

> The filter and host are set up as follows:
```
hw_ctrl status can_mask_id msg_id tag mb_count addr rx_intf entry mb_type | opt_auth opt_host logging opt_custom can_dest
10 disabled 0x00000000 0x00000000 0x0000 0x0010 524 5 mask short | disabled enabled disabled disabled 0
id routing_opts can_id_remap ch_list
0 0x00000000 0x00000000 11
```
>If I send a single message to can10, it gets routed to can 11, as well as the host. Messages after that do not get routed. After I've sent 16 messages without one being delivered, the can interface on the host starts reporting a bus error every time I send a message.

To put 'HIF' as destination is unclear to me. I'm unable to write `HIF` into /sys/kernel/debug/llce_can_core/can_filters/add/can_dest
-sh: echo: write error: Invalid argument

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2037201%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037201%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20trying%20to%20set%20up%20LLCE%20filters%20to%20route%20some%20messages%20on%20can10%20to%20can11%2C%20and%20route%20other%20messages%20to%20the%20host.%3C%2FP%3E%3CP%3EFirst%2C%20I%20would%20like%20to%20ask%20where%20the%20documentation%20for%20the%20debugfs%20interface%20is.%20There%20is%20an%20example%20in%20the%20S32G2_LinuxBSP_42.0_User_Manual.pdf%2C%20and%20modifying%20this%20allows%20the%20creation%20of%20filters%20between%20interfaces.%20However%2C%20I'm%20not%20sure%20how%20to%20create%20a%20filter%20that%20uses%20a%20mask%20or%20ID%20to%20send%20some%20traffic%20to%20the%20Linux%20host.%3C%2FP%3E%3CP%3EThe%20file%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_destinations%2Fadd%2FREADME%20refers%20to%20the%20LLCE%20Firmware%20User%20Guide.%20Where%20can%20I%20find%20this%20document%2C%20or%20perhaps%20some%20more%20examples%20of%20LLCE%20filter%20configurations%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2061427%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2061427%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%20Carlos%2C%20thanks%20for%20your%20reply.%20It%20took%20me%20some%20time%20to%20get%20back%20to%20you%2C%20because%20setting%20the%20tags%20correctly%20was%20the%20last%20big%20hurdle%20and%20I've%20made%20quite%20a%20bit%20of%20progress%20since.%20I've%20run%20into%20a%20new%20issue%2C%20but%20I'll%20open%20a%20new%20thread%20for%20that%2C%20since%20this%20one%20is%20getting%20quite%20long%20and%20contains%20too%20many%20topics%20already.%20Thanks%20for%20your%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2056432%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056432%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20llcecan10%20and%20llcecan11%20are%20initialized%20to%20not%20support%20the%20CANFD%20type%2C%20so%20the%20tags%20in%20the%20script%20need%20to%20be%20changed%20to%200x10a%20and%200x10b.%20If%20the%20channel%20supports%20CANFD%20type%2C%20the%20tag%20needs%20to%20be%20changed%20to%200xa%20and%200xb.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2055317%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2055317%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%2C%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EGood%20news%2C%20we%20are%20making%20some%20progress.%20When%20I%20set%20up%20the%20tag%20to%20correspond%20to%20the%20interface%20number%2C%20the%20behavior%20changes.%3CBR%20%2F%3EThe%20filter%20now%20_almost_%20behaves%20as%20expected%2C%20I%20just%20get%20empty%20CAN%20frames%20when%20the%20mask%20matches.%20For%20clarity%20I've%20added%20a%20complete%20log%20with%20%23%23%23comments%20to%20explain%20the%20testing.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E1)%20At%20boot%2C%20the%20host%20receives%20data%20on%20both%20llcecan10%20and%20llcecan11%2C%20regardless%20of%20canID%3C%2FP%3E%3CP%3E%60%60%60%3C%2FP%3E%3CP%3Eroot%40s32g274a-n4c0a53%3A~%23%20candump%20any%2C0%3A0%2C%23FFFFFFFF%3CBR%20%2F%3Ellcecan11%201FFFFFFF%20%5B4%5D%20DE%20AD%20BE%20EF%3CBR%20%2F%3Ellcecan10%2000000000%20%5B4%5D%20DE%20AD%20BE%20EF%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3E%3CBR%20%2F%3E2)%20Next%2C%20two%20filters%20are%20set%20up%2C%20to%20use%200x00000000%20and%200x%201FFFFFFF%20as%20masks%20respectively.%3CBR%20%2F%3E%60%60%60%3C%2FP%3E%3CP%3E11%20enabled%200x00000000%200x00000000%200x000b%200x0010%20524%204%20mask%20short%20%7C%3C%2FP%3E%3CP%3E10%20enabled%200x1fffffff%200x00000000%200x000a%200x0010%20525%205%20mask%20short%20%7C%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3E%3CBR%20%2F%3E3)%20the%20llcecan%20interfaces%20do%20report%20receiving%20_something_%20when%20frames%20that%20match%20the%20masks%20are%20sent%2C%20but%20the%20contents%20are%20not%20received%20for%20some%20reason%3C%2FP%3E%3CP%3E%60%60%60%3CBR%20%2F%3Eroot%40s32g274a-n4c0a53%3A~%23%20candump%20any%2C0%3A0%2C%23FFFFFFFF%3CBR%20%2F%3Ellcecan10%20000%20%5B0%5D%3CBR%20%2F%3Ellcecan11%20000%20%5B0%5D%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20could%20be%20the%20cause%20of%20these%20frames%20being%20displayed%20as%20empty%3F%20I've%20%60cat%60'ed%20anything%20that%20i%20thought%20might%20be%20relevant%20in%20the%20attached%20log.%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20summarize%2C%20the%20filter%20now%20seems%20to%20be%20matching%20on%20the%20mask%20correctly%2C%20but%20the%20frames%20received%20by%20the%20host%20contain%20no%20data.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2054983%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2054983%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EApologies%20for%20the%20misunderstanding%20here%20are%20some%20comments%20to%20improve%20the%20script%20that%20you%20share%20and%20some%20explanations.%3C%2FP%3E%0A%3CP%3E1.%20%26nbsp%3B%22echo%200x7FF%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_mask_id%22%20means%20that%20only%20standard%20frames%20are%20received.%20The%20CAN%20ID%20of%20the%20standard%20frame%20is%2011%20bits%2C%20so%20the%20can_mask_id%20is%200x7FF%2C%20which%20means%20that%20only%20the%20lower%2011%20bits%20are%20concerned%20when%20the%20mask%20matches.%20If%20it%20is%20an%20extended%20frame%20ID%20(29-bit%20ID)%2C%20change%200x7FF%20to%200x1FFFFFFF.%20If%20you%20want%20to%20ignore%20some%20bits%2C%20fill%20them%20with%200%2C%20for%20example%2C%200x7F0%20means%20the%20last%204%20bits%20are%20ignored.%3C%2FP%3E%0A%3CP%3E2.%20%26nbsp%3B%22echo%20mask%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fentry%22%20The%20mask%20here%20is%20not%20the%20incoming%20parameter%20mask_id%2C%20but%20the%20configuration%20filter%20mode%20is%20mask%20match%20or%20exact%20match%2C%20so%20you%20cannot%20mistakenly%20assign%20mask%20as%20an%20incoming%20parameter.%3C%2FP%3E%0A%3CP%3E3.%20%26nbsp%3B%220xe%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Ftag%22%20When%20configuring%20the%20basic%20filter%2C%20the%20tag%20value%20is%20strongly%20related%20to%20the%20channel.%20Here%2C%200xe%20corresponds%20to%20channel%2014.%20You%20use%20channel%2011%2C%20so%20it%20should%20be%20changed%20to%20%220xb%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Ftag%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2053578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2053578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI've%20described%20the%20behavior%20when%20I%20use%20a%20different%20destination%20already%3A%3C%2FP%3E%3CP%3E%26gt%3B%20The%20filter%20and%20host%20are%20set%20up%20as%20follows%3A%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3Ehw_ctrl%20status%20can_mask_id%20msg_id%20tag%20mb_count%20addr%20rx_intf%20entry%20mb_type%20%7C%20opt_auth%20opt_host%20logging%20opt_custom%20can_dest%3CBR%20%2F%3E10%20disabled%200x00000000%200x00000000%200x0000%200x0010%20524%205%20mask%20short%20%7C%20disabled%20enabled%20disabled%20disabled%200%3CBR%20%2F%3Eid%20routing_opts%20can_id_remap%20ch_list%3CBR%20%2F%3E0%200x00000000%200x00000000%2011%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3E%26gt%3BIf%20I%20send%20a%20single%20message%20to%20can10%2C%20it%20gets%20routed%20to%20can%2011%2C%20as%20well%20as%20the%20host.%20Messages%20after%20that%20do%20not%20get%20routed.%20After%20I've%20sent%2016%20messages%20without%20one%20being%20delivered%2C%20the%20can%20interface%20on%20the%20host%20starts%20reporting%20a%20bus%20error%20every%20time%20I%20send%20a%20message.%3C%2FP%3E%3CP%3ETo%20put%20'HIF'%20as%20destination%20is%20unclear%20to%20me.%20I'm%20unable%20to%20write%20%60HIF%60%20into%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_dest%3CBR%20%2F%3E-sh%3A%20echo%3A%20write%20error%3A%20Invalid%20argument%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2053345%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2053345%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20notice%20as%20you%20say%20in%20this%20thread%20that%20the%20filter%20that%20you%20are%20setting%20does%20not%20have%20another%20destination%2C%20why%20you%20did%20not%20put%20HIF%20(host%20interface)%20as%20destination%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202025-02-27%20181100.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202025-02-27%20181100.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F326143i1397CEDD1C9A2659%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202025-02-27%20181100.png%22%20alt%3D%22Screenshot%202025-02-27%20181100.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20this%20case%20the%20error%20can%20be%20because%20the%20can%20destination%20you%20are%20setting%20is%20not%20initialized.%20Another%20option%20can%20be%20initializing%20another%20llce%20can%20interface%20and%20put%20it%20as%20destination%20of%20the%20filter.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2052775%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2052775%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%2C%20sure%20thing!%3C%2FP%3E%3CP%3E1)%20modify%20the%20llcecan11%20line%20in%20%60%2Fetc%2Fllce_config%2Fllce_init.sh%60%20to%20be%20%60ip%20link%20set%20up%20llcecan11%20type%20can%20bitrate%20500000%60%3CBR%20%2F%3E2)%20With%20another%20CAN%20device%2C%20connect%20to%20llce11.%20I'm%20using%20a%20laptop%20with%20ubuntu%2024.04%20and%20a%20PEAK-USB%20device.%3CBR%20%2F%3E3)%20From%20the%20other%20device%2C%20send%20some%20can%20traffic%20to%20the%20S32%20device.%20In%20my%20case%2C%20the%20commands%20on%20the%20laptop%20are%3A%3CBR%20%2F%3E%60sudo%20ip%20link%20set%20up%20can1%20up%20type%20can%20bitrate%20500000%60%3CBR%20%2F%3E%60cansend%20can0%20000%23deadbeef%60%3CBR%20%2F%3E4)%20on%20the%20S32%2C%20confirm%20that%20the%20can%20messages%20are%20being%20received%20using%20%60candump%20any%2C0%3A0%2C%23FFFFFFFF%60%3CBR%20%2F%3E5)%20on%20the%20S32%2C%20run%20the%20script%20called%20%60setup_llce_NXP_Example.sh%60.%20It's%20the%20same%20as%20one%20attached%20to%20an%20earlier%20post%20in%20this%20discussion%3CBR%20%2F%3E6)%20inspect%20%60%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Flist%60%20to%20see%20that%20the%20original%20filter%20on%20llcecan11%20was%20disabled%2C%20and%20a%20new%2C%20identical%20filter%20was%20created%20by%20the%20script.%3CBR%20%2F%3E7)%20After%20running%20the%20script%2C%20do%20%60%60candump%20any%2C0%3A0%2C%23FFFFFFFF%60%60%20again.%3CBR%20%2F%3E%3CLI-EMOJI%20id%3D%22lia_smiling-face-with-sunglasses%22%20title%3D%22%3Asmiling_face_with_sunglasses%3A%22%3E%3C%2FLI-EMOJI%3E%20from%20the%20laptop%2C%20send%20some%20more%20CAN%20traffic%3CBR%20%2F%3E9)%20On%20my%20device%20the%20CAN%20traffic%20is%20not%20received%20after%20running%20the%20script%2C%20while%20I%20expect%20it%20to%20be.%3CBR%20%2F%3EI'm%20attaching%20the%20script%20again%2C%20as%20well%20as%20a%20screenshot%20of%20the%20two%20terminal%20sessions%2C%20for%20clarity.%20The%20top%20terminal%20is%20the%20laptop%2C%20and%20the%20bottom%20one%20is%20an%20SSH%20session%20to%20the%20S32%20device.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2052385%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2052385%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20help%20me%20with%20a%20step-by-step%20to%20reproduce%20the%20issue%3F%3C%2FP%3E%0A%3CP%3EThis%20to%20the%20objective%20to%20reproduce%20the%20issue%20at%20my%20end.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2050577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2050577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHey%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3Etwo%20ways.%20First%2C%20by%20monitoring%20the%20output%20of%3CBR%20%2F%3E%60candump%20any%2C0%3A0%2C%23FFFFFFFF%60%3CBR%20%2F%3ESecond%2C%20by%20monitoring%20the%20contents%20of%3CBR%20%2F%3E%60%2Fsys%2Fclass%2Fnet%2Fllcecan11%2Fstatistics%2F%60%3CBR%20%2F%3E%3CBR%20%2F%3EWith%20a%20can%20interface%20sending%20packets%20to%20llcecan11.%20I%20confirm%20that%20both%20methods%20of%20monitoring%20traffic%20indicate%20receiving%20traffic%2C%20and%20then%20I%20create%20the%20filter%2C%20and%20then%20it%20stops%20receiving%20traffic.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2050292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2050292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EYour%20understanding%20of%20msg_id%20is%20correct.%3C%2FP%3E%0A%3CP%3Ecan_mask_id%20as%200x00000000%20is%20correct%20for%20the%20test%20you%20are%20doing%20to%20allow%20all%20id%20to%20pass.%3C%2FP%3E%0A%3CP%3EHow%20are%20you%20testing%20that%20the%20host%20is%20receiving%20or%20not%20the%20CAN%20msg%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2049690%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2049690%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%20Carlos%3CBR%20%2F%3E%26gt%3B%20can_dest%3C%2FP%3E%3CP%3EThis%20was%20taken%20from%20the%20provided%20example%20to%20create%20a%20filter%20that%20uses%20the%20host%20as%20destination.%20Usually%20this%20value%20refers%20to%20a%20destination%20created%20in%20%60%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_destinations%2F%60%20%2C%20but%20in%20this%20case%2C%20no%20such%20destination%20exists.%20In%20the%20provided%20example%2C%200xFF%20was%20used%20when%20no%20destination%20existed%2C%20and%20I%20used%20the%20same.%3CBR%20%2F%3E%26gt%3B%20can_mask_id%3C%2FP%3E%3CP%3EThis%20is%20the%20mask%20used%20to%20filter%20CAD%20emesages%20by%20ID%2C%20the%20default%20filters%20all%20used%200x00000000%2C%20so%20I%20used%20the%20same%2C%20to%20create%20a%20filter%20that%20passes%20all%20traffic%20to%20the%20host.%20I%20did%20also%20try%20using%200xFFFFFFFF%2C%20in%20case%20the%20mask%20works%20differently%2C%20but%20this%20dod%20not%20affect%20the%20behavior.%3CBR%20%2F%3E%26gt%3B%20msg_id%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIt%20is%20my%20understanding%20that%20this%20value%20is%20only%20used%20when%20creating%20an%20%22exact%22%20filter%2C%20and%20I%20expect%20this%20value%20to%20be%20ignored.%20I%20used%200x00000000%2C%20and%20did%20test%20to%20see%20it%20the%20filter%20behaves%20differently%20if%20ite%20receives%20a%20message%20with%20CAN%20identifier%200x00000000%2C%20but%20these%20messages%20are%20also%20not%20received%20by%20the%20host.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2049292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2049292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3Ereviewing%20the%20script%2C%20you%20attached%20they%20are%20some%20values%20that%20I%20think%20you%20need%20to%20review%2C%20it%20is%20the%20can_dest%2C%20can_mask_id%20and%20msg_id.%20What%20are%20you%20objective%20to%20do%20with%20those%20values%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2048912%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048912%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%20%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20not%20getting%20an%20error%20per%20s%C3%A9%2C%20the%20llececan%20interface%20just%20stops%20receiving%20packets%20after%20I've%20created%20the%20filter.%20The%20script%20I've%20attached%20runs%20fine%20without%20any%20errors%2C%20but%20then%20the%20output%20of%3CBR%20%2F%3E%22candump%20any%2C0%3A0%2C%23FFFFFFFF%22%20gives%20no%20output%2C%20whereas%20before%20running%20the%20script%20it%20was%20printing%20whatever%20was%20on%20the%20bus.%3CBR%20%2F%3EI%20specifically%20checked%20for%20network%20errors%20in%20%60%2Fsys%2Fclass%2Fnet%2Fllcecan10%2Fstatistics%2F%60%2C%20but%20there%20are%20none.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2048615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3Egreat%20to%20hear%20that%20you%20were%20able%20to%20configure%20the%20filter.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20share%20a%20log%20file%20with%20an%20example%20of%20the%20error%20you%20are%20getting%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2048034%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048034%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20very%20much%2C%20this%20is%20very%20helpful%2C%20I'm%20happy%20to%20report%20that%20the%20filter%20is%20added%20to%20the%20list%20as%20expected.%20However%2C%20the%20filter%20doesn't%20work.%20As%20a%20sanity%20check%2C%20I've%20created%20a%20filter%20that%20exactly%20replicates%20the%20default%20one%2C%20with%20a%20mask%20of%200x000000.%20When%20I%20do%20this%2C%20I%20get%20traffic%20on%20the%20interface%20before%20I%20recreate%20the%20filter%2C%20but%20nothing%20after.%20I%20don't%20see%20any%20values%20increasing%20in%20%60%3CSPAN%3E%2Fsys%2Fclass%2Fnet%2Fllcecan10%2Fstatistics%2F%3C%2FSPAN%3E%60%20that%20would%20indicate%20an%20error.%3CBR%20%2F%3EDue%20to%20hardware%20constraints%2C%20I'm%20using%20different%20interfaces%20(llcecan10%20and%20llcecan11)%2C%20and%20normal%20CAN%20in%20stead%20of%20canFD%2C%20so%20I've%20needed%20to%20change%20the%20example%20slightly.%20I'm%20attaching%20the%20script%20I'm%20using%20to%20test%20this.%20Could%20you%20please%20check%20if%20I'm%20making%20some%20mistake%2C%20or%20if%20the%20behavior%20is%20indeed%20unexpected.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20also%20tried%20to%20create%20an%20exact%20matching%20filter%2C%20for%20address%200x77%2C%20from%20the%20example%20in%20the%20documentation%2C%20but%20the%20interface%20just%20stops%20receiving%20communication.%3CBR%20%2F%3E%3CBR%20%2F%3Ethe%20interface%20is%20up%20when%20I%20check%20%60ip%20link%20show%60%2C%20and%20if%20I%20do%20%60cansend%20000%23AABBCCDD%60%20the%20interface%20is%20able%20to%20send%20frames%20correctly.%20It%20just%20stops%20receiving%20frames%20once%20I%20create%20the%20basic%20filter%20that%20is%20exactly%20the%20same%20as%20the%20default%20filter%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%60%60%60%3C%2FP%3E%3CP%3Eroot%40s32g274a-n4c0a53%3A~%23%20cat%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Flist%3CBR%20%2F%3Ehw_ctrl%20status%20can_mask_id%20msg_id%20tag%20mb_count%20addr%20rx_intf%20entry%20mb_type%20%7C%20opt_auth%20opt_host%20logging%20opt_custom%20can_dest%3CBR%20%2F%3E0%20enabled%200x00000000%200x00000000%200x0000%200x0010%20512%2015%20mask%20long%20%7C%3CBR%20%2F%3E%5B...%5D%3CBR%20%2F%3E8%20enabled%200x00000000%200x00000000%200x0008%200x0010%20520%207%20mask%20long%20%7C%3CBR%20%2F%3E9%20enabled%200x00000000%200x00000000%200x0009%200x0010%20521%206%20mask%20long%20%7C%3CBR%20%2F%3E10%20enabled%200x00000000%200x00000000%200x010a%200x0010%20522%205%20mask%20short%20%7C%3CBR%20%2F%3E11%20disabled%200x00000000%200x00000000%200x010b%200x0010%20523%204%20mask%20short%20%7C%3CBR%20%2F%3E11%20enabled%200x00000000%200x00000000%200x000e%200x0010%20524%204%20mask%20short%20%7C%3C%2FP%3E%3CP%3E%60%60%60%3CBR%20%2F%3E%3CBR%20%2F%3EAnother%20question%20about%20the%20example%2C%20could%20you%20please%20explain%20the%200x7F0%20values%20that%20get%20written%20to%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_mask_id%20for%20both%20filters%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2047518%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2047518%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20Internal%20team%20shares%20the%20following%20example%20of%20the%20complete%20configuration%20of%20a%20filter%3A%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20%20language-markup%22%3E%3CCODE%3E%23%20llcecan%20link%20up%0Aip%20link%20set%20up%20llcecan14%20type%20can%20bitrate%20500000%20dbitrate%205000000%20fd%20on%0Aip%20link%20set%20up%20llcecan15%20type%20can%20bitrate%20500000%20dbitrate%205000000%20fd%20on%0A%0A%23%20disable%20current%20basic%20filter%0Aecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Fstatus%0Aecho%20512%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Faddr%0Aecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Fexecute%0Aecho%20513%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Faddr%0Aecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Fexecute%0A%0A%23%20llcecan14%20basic%20filte%0A%0Aecho%200xFF%20%26gt%3B%20%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_dest%0Aecho%200x7F0%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_mask_id%0Aecho%20mask%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fentry%0Aecho%2014%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fhw_ctrl%0Aecho%200xe%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Ftag%0Aecho%200x10%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmb_count%0Aecho%20long%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmb_type%0Aecho%200x540%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmsg_id%0Aecho%20enabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fstatus%0Aecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fexecute%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3EAfter%20executing%20the%20above%20command%2C%20a%20filter%20as%20shown%20below%20will%20be%20created.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22carlos_o_0-1739988050013.png%22%20style%3D%22width%3A%20584px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1739988050013.png%22%20style%3D%22width%3A%20584px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324800i2B609C0C93FE10D0%2Fimage-dimensions%2F584x40%3Fv%3Dv2%22%20width%3D%22584%22%20height%3D%2240%22%20role%3D%22button%22%20title%3D%22carlos_o_0-1739988050013.png%22%20alt%3D%22carlos_o_0-1739988050013.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20%20language-markup%22%3E%3CCODE%3E%23%20Create%20a%20destination%20to%20be%20used%20for%20LLCE%20CAN14%E2%86%92LLCE%20CAN15%20route.%0Aecho%200x0%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_destinations%2Fadd%2Fcan_id_remap%0Aecho%2015%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_destinations%2Fadd%2Fch_list%0Aecho%200x1%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_destinations%2Fadd%2Frouting_opts%0Aecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_destinations%2Fadd%2Fexecute%0Acat%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_destinations%2Fadd%2Fexecute%20%26gt%3B%20%5C%0A%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_dest%0Aecho%200x7F0%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_mask_id%0Aecho%20mask%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fentry%0Aecho%2014%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fhw_ctrl%0Aecho%200xe%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Ftag%0Aecho%200x10%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmb_count%0Aecho%20long%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmb_type%0Aecho%200x530%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmsg_id%0Aecho%20enabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fstatus%0Aecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fopt_auth%0Aecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fopt_custom%0Aecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fopt_host%0Aecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Flogging%0Aecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fexecute%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3EAfter%20executing%20the%20above%20command%2C%20an%20additional%20filter%20will%20be%20created%20as%20shown%20in%20the%20figure%20below.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22carlos_o_1-1739988082656.png%22%20style%3D%22width%3A%20588px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_1-1739988082656.png%22%20style%3D%22width%3A%20588px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324801i0BFBBFF3284F988F%2Fimage-dimensions%2F588x47%3Fv%3Dv2%22%20width%3D%22588%22%20height%3D%2247%22%20role%3D%22button%22%20title%3D%22carlos_o_1-1739988082656.png%22%20alt%3D%22carlos_o_1-1739988082656.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20need%20to%20disable%20the%20unused%20filters%20in%20the%20filter%20list%20to%20prevent%20interference%20between%20filters.%20After%20testing%2C%20the%20first%20filter%20will%20receive%20IDs%20between%200x540~0x54F%20to%20the%20host%2C%20and%20route%20IDs%20between%200x530~0x53F%20to%20llcecan15.%20If%20you%20need%20a%20CAN%20frame%20to%20be%20received%20by%20the%20host%20and%20routed%20to%20another%20channel%20at%20the%20same%20time%2C%20opt_host%20enable%20of%20the%20corresponding%20filter%20is%20required.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2046581%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2046581%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethanks%20for%20sharing%20the%20details%2C%20I'm%20reviewing%20with%20the%20internal%20team%20the%20possibles%20root%20causes%20of%20this%20issue.%20We%20appreciate%20your%20patience.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2046110%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2046110%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESome%20more%20info%20that%20might%20be%20of%20use%2C%20the%20errors%20that%20get%20generated%20increment%20the%20values%20in%3CBR%20%2F%3E%2Fsys%2Fclass%2Fnet%2Fllcecan10%2Fstatistics%2Frx_dropped%3CBR%20%2F%3Eand%3CBR%20%2F%3E%2Fsys%2Fclass%2Fnet%2Fllcecan10%2Fstatistics%2Frx_errors%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20the%20two%20llcecan%20interfaces%20in%20question.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2046096%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2046096%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehey%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%2C%20if%20I%20set%20the%20filter%20explicitly%20to%20enabled%20before%20executing%2C%20I%20get%20a%20permission%20error%20trying%20to%20write%20to%20the%20file%3CBR%20%2F%3E%60%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fset_status%3A%20Permission%20denied%60%3CBR%20%2F%3EIf%20I%20list%20the%20filters%20after%2C%20they%20seem%20to%20be%20enumerated%20as%20enabled%20in%20any%20case%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3Eroot%40s32g274a-n4c0a53%3A~%23%20cat%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Flist%3CBR%20%2F%3Ehw_ctrl%20status%20can_mask_id%20msg_id%20tag%20mb_count%20addr%20rx_intf%20entry%20mb_type%20%7C%20opt_auth%20opt_host%3CBR%20%2F%3Elogging%20opt_custom%20can_dest%3CBR%20%2F%3E0%20enabled%200x00000000%200x00000000%200x0000%200x0010%20512%2015%20mask%20long%20%7C%3C%2FP%3E%3CP%3E1%20enabled%200x00000000%200x00000000%200x0001%200x0010%20513%2014%20mask%20long%20%7C%3C%2FP%3E%3CP%3E2%20enabled%200x00000000%200x00000000%200x0002%200x0010%20514%2013%20mask%20long%20%7C%3CBR%20%2F%3E3%20enabled%200x00000000%200x00000000%200x0003%200x0010%20515%2012%20mask%20long%20%7C%3CBR%20%2F%3E4%20enabled%200x00000000%200x00000000%200x0004%200x0010%20516%2011%20mask%20long%20%7C%3CBR%20%2F%3E5%20enabled%200x00000000%200x00000000%200x0005%200x0010%20517%2010%20mask%20long%20%7C%3CBR%20%2F%3E6%20enabled%200x00000000%200x00000000%200x0006%200x0010%20518%209%20mask%20long%20%7C%3CBR%20%2F%3E7%20enabled%200x00000000%200x00000000%200x0007%200x0010%20519%208%20mask%20long%20%7C%3CBR%20%2F%3E8%20enabled%200x00000000%200x00000000%200x0008%200x0010%20520%207%20mask%20long%20%7C%3CBR%20%2F%3E9%20enabled%200x00000000%200x00000000%200x0009%200x0010%20521%206%20mask%20long%20%7C%3CBR%20%2F%3E10%20disabled%200x00000000%200x00000000%200x010a%200x0010%20522%205%20mask%20short%20%7C%3CBR%20%2F%3E11%20disabled%200x00000000%200x00000000%200x010b%200x0010%20523%204%20mask%20short%20%7C%3CBR%20%2F%3E10%20enabled%200x00000000%200x00000000%200x0000%200x0010%20524%205%20mask%20short%20%7C%20disabled%20enabled%20disabled%20disabled%200%3CBR%20%2F%3E11%20enabled%200x00000000%200x00000000%200x0000%200x0010%20525%204%20mask%20short%20%7C%20disabled%20enabled%20disabled%20disabled%201%3C%2FP%3E%3CP%3E%60%60%60%3C%2FP%3E%3CP%3ESetting%20the%20status%20works%2C%20if%20I%20write%2C%20the%20address%2C%20%22disabled%22%20and%20execute%20into%20the%20respective%20files%20in%20%60%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%60%2C%20then%20the%20status%20visibly%20changes%20form%20'enabled'%20to%20'disabled'%20when%20I%20list%20the%20filters.%3C%2FP%3E%3CP%3EEnabling%20and%20disabling%20the%20filter%20doesn't%20seem%20to%20affect%20the%20behvior%20initially.%20It%20still%20only%20forwards%20a%20single%20message%20and%20reports%20bus%20errors%20after%2016%20messages.%20Once%20it%20starts%20reporting%20bus%20errors%2C%20disabling%20and%20enabling%20the%20filter%20doesn't%20make%20it%20forward%20a%20single%20message%20again.%20That%20only%20happens%20if%20I%20reboot%20and%20reconfigure%20the%20filter.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2045681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2045681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20seems%20like%20the%20filter%20status%20of%20your%20filter%20is%20disable.%20Could%20you%20please%20enable%20it%20with%20%22echo%20enabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fstatus%22%3F%3C%2FP%3E%0A%3CP%3ERetry%20to%20send%20the%20data%20after%20that%20and%20let%20me%20know%20the%20results.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2043668%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2043668%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ELet%20me%20review%20with%20the%20internal%20team%20what%20can%20be%20the%20root%20causes%20of%20this%20issue.%20This%20may%20take%20a%20longer%20response%20time.%20I'll%20come%20ASAP%20with%20further%20information.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2043210%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2043210%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20your%20response.%20However%2C%20setting%20opt_host%20to%20%22enabled%22%20causes%20unexpected%20behavior%20as%20described%20earlier.%20Specifically%2C%20when%20opt_host%20is%20enabled%2C%20the%20first%20message%20behaves%20as%20expected%2C%20but%20subsequent%20messages%20do%20not%20get%20forwarded%2C%20and%20after%2016%20messages%2C%20the%20CAN%20interface%20on%20the%20host%20starts%20reporting%20bus%20errors.%3C%2FP%3E%3CP%3ECould%20you%20provide%20more%20detailed%20guidance%20on%20how%20to%20configure%20the%20filter%20to%20communicate%20with%20the%20host%20without%20causing%20these%20issues%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2042745%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2042745%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EQ%3A%26nbsp%3BTee%20example%20doesn't%20include%20the%20creation%20of%20destinations%2C%20does%20this%20still%20need%20to%20happen%3F%20or%20is%20destination%200xFF%20created%20by%20default%3F%3C%2FP%3E%0A%3CP%3EA%3A%20Yes%2C%20you%20still%20need%20to%20create%20a%20destination.%3C%2FP%3E%0A%3CP%3EQ%3A%26nbsp%3BThe%20value%20of%20the%20mask_id%20(0x7F)%20doesn't%20make%20sense%20to%20me.%20How%20does%20it%20relate%20to%20the%20addresses%20being%20filtered%3F%20All%20other%20parameters%20in%20the%20example%20make%20sense%20to%20me%2C%20and%20are%20already%20how%20I%20configure%20the%20filters%2C%20but%20it%20has%20no%20host%20communication.%3C%2FP%3E%0A%3CP%3EA%3A%20This%20mask_id%20is%20only%20an%20example%20and%20work%20as%20if%20you%20put%20a%20mask%20id%20in%20a%20CAN%20communication%20to%20take%20some%20action%20when%20a%20msg%20arrive%20with%20some%20id%20that%20pass%20the%20mask.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20to%20enable%20the%20communication%20with%20the%20host%20you%20only%20need%20to%20set%20the%20opt_host%20config%20to%20%22enable%22%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAll%20the%20subdirectories%20at%20the%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2F%20have%20a%20README%20file%20that%20explain%20the%20possible%20configurations.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2041501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2041501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%26gt%3B%20The%20example%20only%20is%20for%20reference%3CBR%20%2F%3ETee%20example%20doesn't%20include%20the%20creation%20of%20destinations%2C%20does%20this%20still%20need%20to%20happen%3F%20or%20is%20destination%200xFF%20created%20by%20default%3F%3CBR%20%2F%3E%26gt%3B%26nbsp%3Blet%20me%20know%20the%20results%3CBR%20%2F%3EThe%20value%20of%20the%20mask_id%20(0x7F)%20doesn't%20make%20sense%20to%20me.%20How%20does%20it%20relate%20to%20the%20addresses%20being%20filtered%3F%20All%20other%20parameters%20in%20the%20example%20make%20sense%20to%20me%2C%20and%20are%20already%20how%20I%20configure%20the%20filters%2C%20but%20it%20has%20no%20host%20communication.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2041104%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2041104%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20example%20only%20is%20for%20reference%20to%20how%20to%20configure%20the%20filters.%3C%2FP%3E%0A%3CP%3EThanks%20for%20clarifying%20your%20goal%20with%20the%20filters%2C%20let%20me%20know%20the%20results%20you%20get%20and%20if%20it%20solves%20the%20problem%20with%20the%20bus%20error%20msg.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040773%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040773%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241501%22%20target%3D%22_blank%22%3E%40carlos_o%3C%2FA%3E%20%2C%20thanks%20for%20the%20help.%3CBR%20%2F%3E%3CBR%20%2F%3E%26gt%3B%20I%20found%20the%20following%20information%20used%20as%20example%20for%20this%3A%3CBR%20%2F%3EI'll%20work%20through%20the%20example%2C%20but%20it%20looks%20like%20OPT_HOST%20is%20disabled%2C%20and%20the%20previeous%20example%20you%20gave%20indicates%20that%20this%20disables%20host%20communication%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%26gt%3B%26nbsp%3BDo%20you%20want%20the%20filter%20only%20to%20communicate%20with%20the%20host%3CBR%20%2F%3ESome%20Addresses%20need%20to%20be%20sent%20to%20the%20host%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%26gt%3B%26nbsp%3Bor%20communicate%20with%20the%20host%20and%20simultaneously%20send%20it%20to%20another%20llce_can%3F%3CBR%20%2F%3EAll%20other%20traffic%20not%20sent%20to%20the%20host%20should%20be%20sent%20to%20another%20interface.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%26gt%3B%20Could%20you%20explain%20in%20more%20detail%20the%20behavior%20of%20your%20second%20question%3F%3CBR%20%2F%3EThe%20filter%20and%20host%20are%20set%20up%20as%20follows%3A%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3Ehw_ctrl%20status%20can_mask_id%20msg_id%20tag%20mb_count%20addr%20rx_intf%20entry%20mb_type%20%7C%20opt_auth%20opt_host%20logging%20opt_custom%20can_dest%3CBR%20%2F%3E10%20disabled%200x00000000%200x00000000%200x0000%200x0010%20524%205%20mask%20short%20%7C%20disabled%20enabled%20disabled%20disabled%200%3CBR%20%2F%3Eid%20routing_opts%20can_id_remap%20ch_list%3CBR%20%2F%3E0%200x00000000%200x00000000%2011%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3EIf%20I%20send%20a%20single%20message%20to%20can10%2C%20it%20gets%20routed%20to%20can%2011%2C%20as%20well%20as%20the%20host.%20Messages%20after%20that%20do%20not%20get%20routed.%20After%20I've%20sent%2016%20messages%20without%20one%20being%20delivered%2C%20the%20can%20interface%20on%20the%20host%20starts%20reporting%20a%20bus%20error%20every%20time%20I%20send%20a%20message.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EI%20found%20the%20following%20information%20used%20as%20example%20for%20this%3A%3C%2FP%3E%0A%3CP%3E%22%3C%2FP%3E%0A%3CP%3E%23%20llcecan%20link%20up%3CBR%20%2F%3Eip%20link%20set%20up%20llcecan14%20type%20can%20bitrate%20500000%20dbitrate%205000000%20fd%20on%3CBR%20%2F%3Eip%20link%20set%20up%20llcecan15%20type%20can%20bitrate%20500000%20dbitrate%205000000%20fd%20on%3C%2FP%3E%0A%3CP%3E%23%20disable%20current%20basic%20filter%3CBR%20%2F%3Eecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Fstatus%3CBR%20%2F%3Eecho%20512%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Faddr%3CBR%20%2F%3Eecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Fexecute%3CBR%20%2F%3Eecho%20513%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Faddr%3CBR%20%2F%3Eecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fset_status%2Fexecute%3C%2FP%3E%0A%3CP%3E%23%20llcecan14%20basic%20filter%3C%2FP%3E%0A%3CP%3Eecho%200xFF%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_dest%3CBR%20%2F%3Eecho%200x7F0%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fcan_mask_id%3CBR%20%2F%3Eecho%20mask%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fentry%3CBR%20%2F%3Eecho%2014%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fhw_ctrl%3CBR%20%2F%3Eecho%200xe%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Ftag%3CBR%20%2F%3Eecho%200x10%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmb_count%3CBR%20%2F%3Eecho%20long%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmb_type%3CBR%20%2F%3Eecho%200x543%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fmsg_id%3CBR%20%2F%3Eecho%20enabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fstatus%3CBR%20%2F%3Eecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fopt_auth%3CBR%20%2F%3Eecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fopt_custom%3CBR%20%2F%3Eecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fopt_host%3CBR%20%2F%3Eecho%20disabled%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Flogging%3CBR%20%2F%3Eecho%201%20%26gt%3B%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Fadd%2Fexecute%3C%2FP%3E%0A%3CP%3Ecandump%20any%2C0%3A0%2C%23FFFFFFFF%20%26gt%3Blog%20%26amp%3B%3C%2FP%3E%0A%3CP%3E%23%20accepted%3CBR%20%2F%3Ecansend%20llcecan15%20546%2322335566%3C%2FP%3E%0A%3CP%3E%23discarded%3CBR%20%2F%3Ecansend%20llcecan15%20556%2322335566%3C%2FP%3E%0A%3CP%3E%22%3C%2FP%3E%0A%3CP%3EAbout%20your%20first%20questions.%20Do%20you%20want%20the%20filter%20only%20to%20communicate%20with%20the%20host%3F%20or%20communicate%20with%20the%20host%20and%20simultaneously%20send%20it%20to%20another%20llce_can%3F%3C%2FP%3E%0A%3CP%3ECould%20you%20explain%20in%20more%20detail%20the%20behavior%20of%20your%20second%20question%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2039806%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039806%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYes%2C%20this%20is%20the%20interface%20I'm%20having%20trouble%20with.%20I%20have%20some%20questions%20about%20that%20example%3C%2FP%3E%3CP%3EFirst%2C%20how%20do%20I%20set%20up%20the%20filter%20to%20communicate%20with%20the%20host%20linux%20system%3F%20How%20do%20I%20configure%20the%20lice_can_destination%20to%20not%20use%20a%20different%20CAN%20interface%3F%3C%2FP%3E%3CP%3ESecond%2C%20if%20I%20were%20to%20use%20another%20channel%20to%20achieve%20the%20same%2C%20and%20I%20set%20opt_host%20to%20I%2C%20then%20the%20first%20message%20behaves%20as%20expected%2C%20but%20then%20no%20messages%20get%20forwarded%2C%20and%20I%20start%20getting%20bus%20errors%20after%2016%20messages%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2039536%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039536%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EPlease%20refer%20to%20the%20chapter%20%3CSTRONG%3E12.3.5.1%20CAN2CAN%20demo%3C%2FSTRONG%3E%20of%20the%20BSP%20User%20Manual.%3C%2FP%3E%0A%3CP%3EThere%20is%20an%20example%20adding%20a%20filter%20with%20a%20custom%20msg_id.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202025-02-06%20135518.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202025-02-06%20135518.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322795i4190090E42D5943B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202025-02-06%20135518.png%22%20alt%3D%22Screenshot%202025-02-06%20135518.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%5BPage%20104%2C%20Linux%20BSP%2042.0%20User%20Manual%20for%20S32G2%20platforms%5D%E2%80%83%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2039123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI've%20looked%20at%20the%20firmware%20user%20guide%2C%20but%20I%20can't%20see%20any%20reference%20to%20the%20debugfs%20interface.%20Specifically%2C%20I'm%20having%20trouble%20creating%20a%20filter%20that%20sends%20traffic%20to%20the%20host%2C%20based%20on%20a%20mask%2C%20without%20forwarding%20that%20traffic%20to%20a%20different%20interface.%20This%20should%20be%20possible%2C%20since%20such%20filters%20are%20the%20ones%20set%20up%20by%20default%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3Eoot%40s32g274a-n4c0a53%3A~%23%20cat%20%2Fsys%2Fkernel%2Fdebug%2Fllce_can_core%2Fcan_filters%2Flist%3CBR%20%2F%3Ehw_ctrl%20status%20can_mask_id%20msg_id%20tag%20mb_count%20addr%20rx_intf%20entry%20mb_type%20%7C%20opt_auth%20opt_host%3CBR%20%2F%3Elogging%20opt_custom%20can_dest%3CBR%20%2F%3E0%20enabled%200x00000000%200x00000000%200x0000%200x0010%20512%2015%20mask%20long%20%7C%3CBR%20%2F%3E1%20enabled%200x00000000%200x00000000%200x0001%200x0010%20513%2014%20mask%20long%20%7C%3CBR%20%2F%3E2%20enabled%200x00000000%200x00000000%200x0002%200x0010%20514%2013%20mask%20long%20%7C%3CBR%20%2F%3E3%20enabled%200x00000000%200x00000000%200x0003%200x0010%20515%2012%20mask%20long%20%7C%3CBR%20%2F%3E4%20enabled%200x00000000%200x00000000%200x0004%200x0010%20516%2011%20mask%20long%20%7C%3CBR%20%2F%3E5%20enabled%200x00000000%200x00000000%200x0005%200x0010%20517%2010%20mask%20long%20%7C%3CBR%20%2F%3E6%20enabled%200x00000000%200x00000000%200x0006%200x0010%20518%209%20mask%20long%20%7C%3CBR%20%2F%3E7%20enabled%200x00000000%200x00000000%200x0007%200x0010%20519%208%20mask%20long%20%7C%3CBR%20%2F%3E8%20enabled%200x00000000%200x00000000%200x0008%200x0010%20520%207%20mask%20long%20%7C%3CBR%20%2F%3E9%20enabled%200x00000000%200x00000000%200x0009%200x0010%20521%206%20mask%20long%20%7C%3CBR%20%2F%3E10%20enabled%200x00000000%200x00000000%200x010a%200x0010%20522%205%20mask%20short%20%7C%3CBR%20%2F%3E11%20enabled%200x00000000%200x00000000%200x010b%200x0010%20523%204%20mask%20short%20%7C%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20I%20need%20to%20create%20a%20filter%20similar%20to%20these%2C%20only%20with%20a%20mask%20other%20than%200x00000000%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2038800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2038800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELet%20me%20know%20if%20you%20have%20more%20questions.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2038379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2038379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EGreat%2C%20got%20it.%20Thanks!%20Will%20see%20if%20I%20can%20get%20the%20debugFS%20interface%20figured%20out%20from%20that.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2037978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32G2%20Linux%20LLCE%20debugfs%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246314%22%20target%3D%22_blank%22%3E%40m_bez%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EWhen%20you%20install%20the%20LLCE%20Driver%20%2B%20Firmware%20package%2C%20you%20can%20locate%20the%20LLCE%20Firmware%20User%20Guide%20at%3C%2FP%3E%0A%3CP%3EC%3A%5CNXP%5CS32G_LLCE_1_0_9%5Cfirmware%5Cllce_interface%5Cdoc%3C%2FP%3E%0A%3CP%3Eif%20you%20use%20the%20default%20install%20location.%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E