Note 1

Take Note:

Take a note while surfing.





Note With Ink

Give your Note a Colorful Tag.




Easy to Access

Stay on same information and in Sync wherever you are.

Note 2

Take Note:

Organize your information,It may take Shape.





Think With Ink

Differ your Content by Color.




Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3

Take Note:

Don't Let information to miss,Because it take shape





Note With Ink

Simple an Easy Way to take a note.




Easy to Access

Get the same in next visit.


Please wait...

Interview Questions and Answers :: Cavium Networks

Home > Experience Archives > Cavium Networks > Interview Question Set 3
First Round (F-2-F)
    Question :: 1
    What is OFFSETOF() macro will work? will it consider padding?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 2
    Swap the Bit's from x location to y location.

    Answer:

    USE XOR OPERATION FOR THIS



    X=X^Y



    Y=Y^X



    X=X^Y



    By using these three conditions we can exchange of X and Y bits.

    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 3
    Write a function which takes arguments such as bitwise swap, word wise swap, bitwise swap and completes the same

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 4
    How to determine the Big-endian and Little-Endian of machine?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 5
    Please describe regarding the structure padding and how the __attribute__(packed) works to remove the structure padding

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 6
    How do you determine the linked list got a circular loop within the list?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 7
    Reverse the linked list both Recursive and Iterative way.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 8
    What are the boot stages involved with the boot up of Linux. Why the MMU is initialized two times instead of single?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 9
    How will the primary boot loader detect the MMC card without any driver, exactly how it will know the format of the disc to read the MBR

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 10
    Why there is a Two stage boot loader instead of simple Single Boot stage process

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 11
    What is the High-Mem and how it is useful in Linux?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 12
    Position Independent and Position Dependent code in Linux? Do you mean that standard shared libraries can also be made position Independent Code while compiling?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 13
    Structure padding was also called as holes,Can you access them with your normal pointer?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 14
    What are differences in typedef and #define?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 15
    How the DMA coherency is achieved? Will it need the CPU to come into picture to flush the data to disk?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 16
    How do you know that your DMA Engine is capable of the scatter-gather? Can you implement if it not capable?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 17
    Debugging the pthreads with GDB how? Can we pause/suspend/kill a thread?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 18
    What is the dynamic debugging in Linux kernel? Do you know kgdb?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!