This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS: NDK VLAN not working

Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi,

I am trying to use the VLAN support in NDK (ver 2.24.2.31) but it does not seem to be working.

i also tried running the provided console example -- added vlan and set packet using the vlan send - packet are being sent but there is NO vlan tagging (it does not seem to go through the VLAN  tagging functions at all)

I tried searching for solutions on the forum but so far only encountered with unanswered questions

Please help

Thanks

Guy

  • Hi,

    What processor is this? Which RTOS version?
  • Guy,

    I was able to reproduce the issue. I'm not seeing the VLAN send or add header functions being reached, either.

    Either there's something basic with the set up that we're missing, doing something wrong, or something is broken.

    I'll post back as soon as I have something.

    Steve

  • Hi Steve,

    After digging through the code and some testing i managed to get the VLAN to work under the condition that i must add IP entry to the newly VLAN if received from the vlanAddDevice function

    and the IP setting MUST be with a different subnet the the one that already exists. from some reason i could not find a way just to add the tagging of the VLAN to the current active IP configuration.

    In order to keep the same subnet and IP i had to first erase the origin configuration entry and then add a new entry on the VLAN if with my original IP settings - meaning i have only one configuration on the VLAN if and none on the physical IF - not sure if that is OKbut it seems to be working - can you please check it out and let me know if this is indeed OK to be used in such manner?

    also maybe you'll be able to figure out if there is some way that i have missed just to add the tagging to the current already active IP settings?

    Thanks

    Guy

  • Once again: What processor is this? Which RTOS version? Please provide the data so that the thread can be correctly assigned.
  • Hi,
    Processor: TDA3xx , TDA2xx

    NDK currently runs on the ARM - cortex M4

    RTOS: not sure what you mean by RTOS version but - sysBios = 6.46.0.23 , NDK = 2.24.2.31 , XDC = 3.32.0.6.

    Guy
  • Thanks. I will now move this thread to the correct forum.