How to use TCP Checksum Off-load in my network driver

I am seeking infomation on how to use TCP Checksum Off-load to tell the Solaris 8 stack not to handle it for both receives and transmits (and let our NIC handle this compute-intensive task instead).
There is mention that Sun GigabitEthernet Adapter cards, Release 1.1 supports Sol-2.6 use of NIC features: TCP checksum offload & byte swapping
There are limited bits of info in include files. For example
sys/strick.h indicates use of:
inetcksum_t's ick_xmit
stream.h has:
struct datab's unsigned u16:16; /* used to store hw-calculated cksum
#define STRUIO_IP 0x04 /* IP checksum stored in db_struioun */
#define STRUIO_ZC 0x08 /* mblk eligible for zero-copy */
strsub.h has:
struct zero_copy_kstat
Also /include/inet/tcp.h has tcp_sum for outbound.
Thank you. -Weimin Tchen

VenK7337,
Could you show your python code. so we know what your are "writing" to the ethernet port?
That way we can see what you are receiving.
Parsing the incoming data (from the TCP-read) depends heavily on the device that sends it, and can not generically be described. LabVIEW has many byte (and even bit) manipulation functions to convert many different data formats to its own build in formats.
So after the TCP listener is connected, you are constantly reading from the established connection (until it gets broken of course). More advanced example would be the internet toolkit if oyu have it.
From the read characters (and I hope you designed a protocol with a clear starting character, ending character and maybe even a build in checksum) you parse the data and perform you action, and of course generate a reply. Again the internet toolkit is a good example. It parsed the input as it comes it, based on the HTTP format. Then generates the reply based on the request received.
These days I would suggest not to use binairy encoded numerics. Try and use XML formatted data. Yes, it causes a lot of overhead. But typically this is not an issue and makes the code a lot more portable and maintainable. Also makes it easier to interface with other languages/platforms.
Umless of course you are looking at Khz data rates, then XML is not th preferred choice.
Hope this helps...

Similar Messages

  • Issue trying to use a Sharepoint document library as a network drive on which a software can create and delete content

    Hi,
    With my colleagues we are using a dictation/transcription software which automatically creates files, moves them from folders to folders and deletes them. Until now, all this was done on a network drive, but the drive will soon be unavailable and
    we will eventually have to use a SharePoint document library instead, and I am currently testing this option.
    I have created a document library (with no versioning and no check out required) and I mapped it as a drive in Windows Explorer to link the SharePoint folders with the dictation software. Everything seems to work fine except
    for one thing: when the dictation software tries to move files from one folder to another, the files are pasted in the destination folder but not deleted from the original folder and an error message pops up saying "delete operation has failed".
    So the softaware is able to automatically create new content in the document library but is unable to automatically delete (I can however delete manually through the software interface).
    Any idea on what is causing this issue and how to solve it?
    Thank you

    Hi,
    According to your description, my understanding is that the documents cannot be deleted in the original folder when using the software with SharePoint library.
    I recommend to verify the things below:
    Which credential did you use to map the document library as network drive?
    If the credential was windows logon, then I recommend to check if the documents can be deleted in the network drive which was connected to SharePoint library directly.
    If the documents can be deleted in the network drive which was connected to SharePoint library, then the issue may be due to the compatibility problem between the software and WebDAV. Then you need to check the issue using third-party software provider.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Use thinkvantage access connections to map a network drive

    Is it possible to use thinkvantage access connections to map a network drive. I have three different basic sites (home, work1, work2) with network drives that I would like to access depending on the site.
    1) I wonder if it is possible to configure thinkvantage access connections to automatically map the network resources through a connection profile?
    2) I wonder if it is possible to configure thinkvantage access connections to automatically map the network resources through a connection profile that is based on vpn connection?
    thanks in advance
    sincerely, anders

    Hi,
    directly it's not possible for Access Connection to reconfigure your network drives.
    However, there is one really cool part of Access Connection, that might be realy suitable for your situation. This part is the script/application, that can be executed when a profile gets applied.
    So for your situation I can imagine, that you create a .bat file, that contains something like this:
    net use * /DELETE /YES
    net use Z: \\computer name\share name
    The first part will delete all maped drives. The second part will establish connection that you want to use. Of course you can multiply the last part, so that you can configure multiple connections.
    Please let me know, if this helps.
    Cheers

  • How to use md5 Checksums to verify thousands of copied files

    Hello,
    So I need to be able to verify the succesful copy of thousands of files using md5 checksums.
    is there a program for this or a string of code for terminal?
    Please help.
    Cheers.

    I cover how to do that in the link above, but to quickly do this, run the following command on both folder paths:
    find -s ~/Downloads -type f -exec md5 -q {} \; | md5
    This will generate a list of md5 checksums for each file in the directory (in this case, the Downloads directory in your home folder, but you can change this to whatever you would like), and then create a summary checksum of the collective checksums.
    In my case, the above command yields the following checksum:
    42cf9632cf763cad84c633f0cc7c93bb
    Doing this on my Documents folder yields the following checksum:
    782845544f0ecf8a7ae5fa66197d6abd
    You can then compare these to see if they are different. In this case they are, indicating the folders do not have the same contents.
    Keep in mind this may take a while to run, as checksums will have to be computed for each file in the directory. While this is a raw command, you can save it in a script and then simply run the script with an input argument to make it easier. For example, the following script should work:
    #!/bin/bash
    find -s $1 -type f -exec md5 -q {} \; | md5
    Saving this in a text file, naming it something like "dirsum" and then making it executable in a path location such sa /bin (or a custom added path) will make it easily accessible, so you can run the same command by simply typing the following in the Terminal (in this case to calculate a checksum of the Downloads folder):
    dirsum ~/Downloads

  • How to use Airport Time Capsule as a wireless hard drive?

    I have purchased the Airport Time Capsule 3TB but I really don't need a backup disk, so I want to use it as a wireless hard disk to be used in my network, how can I do this?  Can someone give me a clear step by step guide of how I can do this?
    I appreciate your help and support.

    There is no difference between using the TC as a backup or as a network disk.
    Mount the disk in finder.
    Copy files to it and from it.. in exactly the same way you copy files between disks in a Mac.
    As a file store the TC is not good.
    Store files on the TC.
    https://discussions.apple.com/message/24380694#24380694
    This is asked several times a day.. obviously people are struggling with their latest SSD being too small.
    The TC is not suitable for network file server.. but many people having no choice press it into service as such.
    It cannot be partitioned. It was and is and ever shall be a backup device for Time Machine.
    Major issues.
    1. No backup.. no way Time Machine can backup a network drive. No place to backup to.. So all your files will be at risk. And you will need to buy a third party like CCC to do backup.
    2. The TC cannot be partitioned and mixing TM backups and data is not great.
    3. The drive is slow to spin up and quick to spin down.. there is no controls.
    4. iPhoto in particular can easily corrupt its entire library with wireless networking causing a disconnection to one photo. Even if you do this;;; do not move your photo library... you have been warned!!
    5. iTunes will constantly lose connection to the library. The disk is too slow to respond.. itunes on the computer will constantly spit out errors. Even in the midst of streaming the TC can spin down the disk due to caching.
    6. Do not use any live files on the TC no matter what else you do.. if you edit files in whatever program the file must be on the local hard disk.
    7. The only suitable location for most libraries is a computer. You can plug in an external hard disk.
    Read pondini for some work arounds.
    Q3 here. http://pondini.org/TM/Time_Capsule.html

  • How to use time capsule as an external wireless hard drive?

    I have the latest version of time capsule and would like to use it not only for backups but also to save some files that I don't want to keep in my Macbook Air, which is very limited in terms of storage. Is it possible?

    Here is my general list.
    Store files on the TC.
    This is asked several times a day.. obviously people are struggling with their latest SSD being too small.
    The TC is not suitable for network file server.. but many people having no choice press it into service as such.
    Major issues.
    1. No backup.. no way Time Machine can backup a network drive. No place to backup to.. So all your files will be at risk. And you will need to buy a third party like CCC to do backup.
    2. The TC cannot be partitioned and mixing TM backups and data is not great. It was and is and ever shall be a backup device for Time Machine.
    3. The drive is slow to spin up and quick to spin down.. there is no control. In fact the TC is so lacking in controls for even the router side.. that you cannot do more than the most basic of setups.
    The following are controls on the hard disk side.
    Reformat it. You can name the share. You can do a full archive of the whole disk. This will go at a speed of aprox. 30-50GB/Hr so calculate how long an archive of a full 2TB will take.
    4. iPhoto in particular can easily corrupt its entire library with wireless networking causing a disconnection to one photo. Even if you do this;;; do not move your photo library... you have been warned!!
              Even apple btw say don’t do it.
    http://support.apple.com/kb/TS5168 Although mostly about FAT32           it adds network drives.
    5. iTunes can constantly lose connection to the library. The disk is slow to respond.. itunes on the computer will constantly spit out errors. Even in the midst of streaming the TC can spin down the disk due to caching.
    6. Do not use any live files on the TC no matter what else you do.. if you edit files in whatever program the file must be on the local hard disk.
    7. The only suitable location for most libraries is a computer. You can plug in an external hard disk.
    Read pondini for some work arounds.
    Q3 here. http://pondini.org/TM/Time_Capsule.html

  • How to use bootcamp in mackbook air  with out Disk drive..please help

    Please help me how to install windows 8 using boot camp with cd drive to install on patition mac HDD

    It is almost 99.9% in the FAQ and How To on the support page and inside Boot Camp Assistant instructions (and pdf)
    http://www.apple.com/support/bootcamp
    Walks you through how to use USB flash devices

  • How I use my group Email addresses from my hard drive?

    How do I use may group email addresses from my hard drive at the .mac.
    At the .mac address book, all the names are listed but not my group list.
    Can you help?

    The address book on the .Mac web site does not support the groups that you have defined in Mac OS X's Address book.

  • How to use one music library from one external hard drive on two different computers

    I have 57 gigs of music in my itunes library on my laptop (Windows Vista).  I backed up the library onto an external hard drive.  I would like to play the music on a second computer (Windows XP) without putting the music on the second computer, just keeping it on the external hard drive. 
    I have the latest version of iTunes and Quicktime installed.  In iTunes on both computers, under Advanced Preferences I changed the iTunes media folder location to the folder on the external hard drive and checked the boxes for "Keep iTunes media folder organized" and "copy files to iTunes media folder when adding to library".  Also under the File tab, "Organize Library", I clicked on "Consolidate Files" and "Reorganize Files in the folder itunes music".
    On the second computer I tried holding SHIFT while launching iTunes until the prompt appears asking to create a new library or point to an existing library.  While attempting to point to the new location, I am only able to open the music folder, not set it as the location.  In advanced preferences when I click "change" for the itunes media folder location, I can locate the folder but the only button I can click on is "open" or "cancel".  "Open" will open the folder showing all my music.  I tried typing in the location.  It shows the correct location.
    I was able to see the songs in the library in itunes on the second computer but it won't play the music.  There are no exclamation points next to the songs.  I am also able to see the playlists but there aren't any songs in the playlists.
    There are no problems with itunes on the first computer.  Everything works as it should.
    Ideally I would like to use the same folder on the external hard drive for both computers if possible.  But for now I want to at least get the music playing with the playlists on the second computer from the external hard drive.
    Please help.

    See this post on making a split library portable.
    tt2

  • Using Time Machine to backup FROM a network drive

    Can time machine be configured to backup files that are stored on a network drive? Drive is mounted via SMB.
    Thanks
    Simon

    disconnected wrote:
    although it is now capable of backing up TO a network device, there must be a work around.
    It will back up to some network drives, but not reliably to one connected to your Airport Extreme, and possibly not your NAS, either. See #2, especially the pink box, in Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum).
    Possible solution: mount a networked drive as a local volume so that as far as time machine is concerned, it is seen as a local drive. How could one accomplish this?
    No such hack has been posted here, and it's doubtful there is one.

  • Can I use part of my 3TB as a network drive.

    Time Machine uses my entire 3 TB for backup.  is there a way to partition the 3Tb and use part as a network drive?

    No, you cannot partition a TC.
    See Pondini about how to use data on a TC.
    Q3 here. http://pondini.org/TM/Time_Capsule.html

  • How can I get a Powershell script which maps network drives to execute at logon to any workstation in my domain

    I want to map network drives for each user when they logon to any workstation in the network.  I have created and tested the PS1 script which works fine where the drives attach and used persistent parameter.  I have updated the Windows 7 Professional
    64-bit workstation to the latest PS 4.0 code.  I have created the GPO and believe everything is assigned properly.  I made changes to allow execution of local and remote signed scripts.  I have forced the changes on a workstation using GPUPDATE
    /force, but the drives do not connect.  The GPRESULT is as follows which shows the policies are in place as shown below.  
    What am I missing to get the script to execute? 
    RSOP data for MRC\mikeg on MIDRUBD03 : Logging Mode
    OS Configuration:            Member Workstation
    OS Version:                  6.1.7601
    Site Name:                   N/A
    Roaming Profile:             N/A
    Local Profile:               C:\Users\mikeg.MRC
    Connected over a slow link?: No
    USER SETTINGS
        CN=My Name,CN=Users,DC=mrc,DC=net
        Last time Group Policy was applied: 7/21/2014 at 8:22:05 AM
        Group Policy was applied from:      MIDSRVR01.mrc.net
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        MRC
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            StartingUp
        The following GPOs were not applied because they were filtered out
            Default Domain Policy
                Filtering:  Not Applied (Empty)
            Local Group Policy
                Filtering:  Not Applied (Empty)
        The user is a part of the following security groups
            Domain Admins
            Everyone
            BUILTIN\Administrators
            BUILTIN\Users
            NT AUTHORITY\INTERACTIVE
            CONSOLE LOGON
            NT AUTHORITY\Authenticated Users
            This Organization
            LOCAL
            MRCAdmins
            Domain Users
            Enterprise Admins
            Schema Admins
            AS400_Permanent_Users
            Denied RODC Password Replication Group
            DnsAdmins
            High Mandatory Level
        The user has the following security privileges
        Resultant Set Of Policies for User
            Software Installations
                N/A
            Logon Scripts
                GPO: StartingUp
                    Name:         C:\Windows\SYSVOL\sysvol\mrc.net\Policies\{47773A6D-1115-4A3D-BB74-F672B315A430}\User\Scr
    pts\Logon\MapDriveScript.ps1
                    Parameters:
                    LastExecuted: This script has not yet been executed.
            Logoff Scripts
            Public Key Policies
                N/A
            Administrative Templates
                GPO: StartingUp
                    KeyName:     Software\Policies\Microsoft\Windows\PowerShell\EnableScripts
                    Value:       1, 0, 0, 0
                    State:       Enabled
                GPO: StartingUp
                    KeyName:     Software\Policies\Microsoft\Windows\PowerShell\ExecutionPolicy
                    Value:       82, 0, 101, 0, 109, 0, 111, 0, 116, 0, 101, 0, 83, 0, 105, 0, 103, 0, 110, 0, 101, 0, 100,
    0, 0, 0
                    State:       Enabled
            Folder Redirection
                N/A
            Internet Explorer Browser User Interface
                N/A
            Internet Explorer Connection
                N/A
            Internet Explorer URLs
                N/A
            Internet Explorer Security
                N/A
            Internet Explorer Programs
                N/A

    >                  Name:
    > C:\Windows\SYSVOL\sysvol\mrc.net\Policies\{47773A6D-1115-4A3D-BB74-F672B315A430}\User\Scr
    > pts\Logon\MapDriveScript.ps1
    >                  Parameters:
    First: Only one of all current answers points in the right direction.
    You picked the local sysvol path on the DC which does not exist on
    clients, of course...
    The Path to the script MUST be an UNC path starting like
    \\mrc.net\sysvol\mrc.net\Policies\...
    Second: You CANNOT execute PS1 directly (unless you change the .ps1 file
    extension configuration). The "Name" MUST be "powershell.exe", and the
    script itself goes into "Parameters".
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Use Oracle Attachment for file located in network drive

    Hi,
    We have a requirement to attach the item drawing file to the inventory master item record. The drawing file is stored in a network directory. However, the attachment type of web page only supports http:// not file:\\\.
    If we do not want to load the drawing file as a file attachment, is there any other of attach the file to the item record so it can be opened either in browser or by the local PC automatically?
    Thanks,
    Yi

    Hi Rao,
    this is less a MII than a browser or mapping problem.
    You can access a local file in a browser like this:
    window.open('file:///c:/folder/file.txt');
    However, in case of MII local means local to the MII server. So in the above example the file is located on the c driver of the MII server.
    If you want to access files on a network drive, the folders to the files should be mapped on the MII server so you are able to address them like they were local files.
    I haven't tried to address network folders directly, because we are running MII on Unix.
    Michael

  • How to remove and then add new version of network driver on Local IPS repo

    Hi
    I have create a local repo of IPS on my system for solaris 11.1
    I have a network driver package ,now i wan to update this new driver in local IPS repo,so while doing installion on client through PXE,i will get this latest driver.
    These is some issue with old network driver,so i need to upgrade this driver.
    Please let me know the steps
    Thanks in advance

    If you're needing to use this driver during the installation then you'll need to create a custom AI image as described in the documentation at http://docs.oracle.com/cd/E23824_01/html/E21800/index.html. If you only need this driver post-installation then you just need to add the package (and its repository, assuming it's in a separate repository) to the AI manifest used for the client.

  • ITunes will not load missing MSI network drive message.

    ITunes will not load missing msi on network drive message.
    tried to reinstall but still looks for install files that are missing.

    The precise error message would aid a diagnosis, but this article might help:
    https://discussions.apple.com/thread/2450004?threadID=2450004&tstart=0
    tt2

Maybe you are looking for

  • All of my music and photos are on my iphone.  I want to transfer them to my new PC.  How do I do it?

    My old PC crashed.   All of my songs and photos are on my iphone. I want to transfer my (1) photos to my new computer, and (2) my 2800 songs (only 300 or so of which I purchased through iTunes) to iTunes on my new PC.  I have tried everyhting!  I can

  • Reinstalling Default Fonts in Mountain Lion

    Hi, After buying the new iMac and have used it for two day I noticed that some files were in the Trash folder including the Fonts folder (don't ask me how they got there becuase I would swear I didn't move them). Since I didn't know where the Fonts f

  • How to create a Share with selective access to subfolder?

    Hi All! Just purchased PX12-400r and now "trying" to setup shares. What I want to accomplish is to have a Share accessible to one departmant (Finance). Inside that Share, I want to create sub-folders that is only accessble to specific employee and th

  • My speaking can't be heard by other part

    Lap top Acer 2 years old- Conversation technics function with no problem with other programs perfectly (QQ-Tencent) Windows 7 - latest Skype version in use 7.4 I paid for 1 month Skype clling landline telephones from Estonia to Sweden and mobile to C

  • JSP pages not coming in Tomcat

    Hi All, I need a help. I have installed Tomcat 5 in my new laptop. Before this, I have installed JDK-1_5_0_02 and JRE-1_5_0_02. I have added proper CLASSPATH and PATH in Env. Variables. Also, I have replaced replaced tools.jar of tomcat/common/lib by