Re: [PATCH] bpf: replace deprecated strncpy with strscpy

2024-04-02 Thread Ratheesh Kannoth
On 2024-04-03 at 05:22:50, Justin Stitt (justinst...@google.com) wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > bpf sym names get looked up and compared/cleaned with various

Re: [PATCH net-next v5 3/3] net: ethernet: ti: am65-cpsw: Add minimal XDP support

2024-03-28 Thread Ratheesh Kannoth
On 2024-03-28 at 14:56:42, Julien Panis (jpa...@baylibre.com) wrote: > This patch adds XDP (eXpress Data Path) support to TI AM65 CPSW > Ethernet driver. The following features are implemented: > - NETDEV_XDP_ACT_BASIC (XDP_PASS, XDP_TX, XDP_DROP, XDP_ABORTED) > - NETDEV_XDP_ACT_REDIRECT

Re: [PATCH net-next v4 2/3] net: ethernet: ti: Add desc_infos member to struct k3_cppi_desc_pool

2024-03-26 Thread Ratheesh Kannoth
On 2024-03-25 at 21:30:36, Julien Panis (jpa...@baylibre.com) wrote: > This patch introduces a member and the related accessors which can be > used to store descriptor specific additional information. This member > can store, for instance, an ID to differentiate a skb TX buffer type > from a xdpf

Re: [PATCH V2 bpf-next 2/2] selftests/bpf: add selftest for bpf_task_get_cgroup

2024-03-17 Thread Ratheesh Kannoth
On 2024-03-16 at 21:52:41, Jose Fernandez (jo...@netflix.com) wrote: > This patch adds a selftest for the `bpf_task_get_cgroup` kfunc. The test > focuses on the use case of obtaining the cgroup ID of the previous task > in a `sched_switch` tracepoint. > > The selftest involves creating a test

Re: [PATCH v4 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver

2024-03-14 Thread Ratheesh Kannoth
On 2024-03-12 at 18:52:39, Julien Panis (jpa...@baylibre.com) wrote: > This patch adds XDP support to TI AM65 CPSW Ethernet driver. is this a net-next item ? > > The following features are implemented: NETDEV_XDP_ACT_BASIC, > NETDEV_XDP_ACT_REDIRECT, and NETDEV_XDP_ACT_NDO_XMIT. > > Zero-copy

RE: [EXTERNAL] Re: [PATCH v4 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver

2024-03-14 Thread Ratheesh Kannoth
> From: Julien Panis > Sent: Wednesday, March 13, 2024 7:34 PM > On 3/13/24 14:44, Ratheesh Kannoth wrote: > > On 2024-03-12 at 18:52:39, Julien Panis (jpa...@baylibre.com) wrote: > >> This patch adds XDP support to TI AM65 CPSW Ethernet driver. > > is this a ne

Re: [PATCH net-next 2/2] trace: tcp: fully support trace_tcp_send_reset

2024-03-10 Thread Ratheesh Kannoth
> From: Jason Xing > Sent: Monday, March 11, 2024 10:30 AM > To: Ratheesh Kannoth > Cc: eduma...@google.com; mhira...@kernel.org; > mathieu.desnoy...@efficios.com; rost...@goodmis.org; k...@kernel.org; > pab...@redhat.com; da...@davemloft.net; net...@vger.kernel.org;

Re: [PATCH net-next 2/2] trace: tcp: fully support trace_tcp_send_reset

2024-03-10 Thread Ratheesh Kannoth
On 2024-03-11 at 08:11:04, Jason Xing (kerneljasonx...@gmail.com) wrote: > From: Jason Xing > > Prior to this patch, what we can see by enabling trace_tcp_send is > only happening under two circumstances: > 1) active rst mode > 2) non-active rst mode and based on the full socket > > That means

Re: [PATCH net-next 1/2] trace: adjust TP_STORE_ADDR_PORTS_SKB() parameters

2024-03-10 Thread Ratheesh Kannoth
On 2024-03-11 at 08:11:03, Jason Xing (kerneljasonx...@gmail.com) wrote: > From: Jason Xing > > Introducing entry_saddr and entry_daddr parameters in this macro > for later use can help us record the reverse 4-turple by analyzing Did you mean tuple ? what is turple ? > the 4-turple of the

RE: [EXT] Re: [PATCH v1 net] page_pool: Cap queue size to 32k.

2023-08-14 Thread Ratheesh Kannoth
> From: Jesper Dangaard Brouer > Subject: Re: [EXT] Re: [PATCH v1 net] page_pool: Cap queue size to 32k. > I agree with Johannes, this commit message is too thin. ACK. > It makes sense to give a summary of the discussion, because it show us > (page_pool maintainers) what you concluded for

RE: [EXT] Re: [PATCH v1 net] page_pool: Cap queue size to 32k.

2023-08-14 Thread Ratheesh Kannoth
> From: Johannes Berg > Subject: [EXT] Re: [PATCH v1 net] page_pool: Cap queue size to 32k. > > Please find discussion at > > https://urldefense.proofpoint.com/v2/url?u=https-3A__lore.kernel.org_l > > > I'm not the one who's going to apply this, but honestly, I don't think that > will > work as

[PATCH v1 net] page_pool: Cap queue size to 32k.

2023-08-14 Thread Ratheesh Kannoth
Clamp to 32k instead of returning error. Please find discussion at https://lore.kernel.org/lkml/ CY4PR1801MB1911E15D518A77535F6E51E2D308A@CY4PR1801MB1911. namprd18.prod.outlook.com/T/ Fixes: ff7d6b27f894 ("page_pool: refurbish version of page_pool code") Signed-off-by: Rathee

aesni_cbc_encrypt()

2019-11-11 Thread ratheesh kannoth
Hi, I am trying to pass explicit IV during TLS 1.2 encryption. I copied explicit IV to "ivec" before below function call. But IV on the encrypted output is totally different. Can any one help ? void aesni_cbc_encrypt(const unsigned char *in, unsigned char *out,

SHA_CTX h0, h1, h2, h3, h4

2019-10-29 Thread ratheesh kannoth
Hi, 1. what are these h0h4 ? 2. How are they generated ? 3. Could you help to locate code in openssl ? typedef struct SHAstate_st { SHA_LONG h0, h1, h2, h3, h4; SHA_LONG Nl, Nh; SHA_LONG data[SHA_LBLOCK]; unsigned int num; } SHA_CTX; Thanks,,

Re: write sequence number

2019-09-26 Thread ratheesh kannoth
> I assume you are using OpenSSL 1.0.2? > > s->s2 has nothing to do with TLSv1.2. That's for SSLv2 and has been removed > from > later versions. In 1.0.2 you need to be looking at s->s3->write_sequence and > s->s3->write_sequence. It's changed location in later releases. > > Matt > Sorry for

write sequence number

2019-09-25 Thread ratheesh kannoth
Hi list, i am trying to understand write sequence number and read sequence number. Setup is simple client server with tls v1.2. when i made write sequence number to 0 (ssl/t1_enc.c --> s->s2->write_sequence to 0). i commented out all increment operate on write_sequence number. But

Find white spaces

2016-03-31 Thread ratheesh kannoth
Hi list, I would like search to spaces which is not tab or 1 white space. int main() { int fox; /* This is a fox */ } I need a regex which can find the space between "fox;" and the comment above -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your

git difftool help

2016-03-28 Thread ratheesh kannoth
'git diff 'is opening in meld. I could not create a patch using - git diff > ./patch-01 i did not make any change to pick meld, by default it is picking meld. Which "git difftool" will help to create patch ? i do want to use format patch as changes are not yet committed ? -Ratheesh -- To

[no subject]

2016-03-28 Thread ratheesh kannoth
subscribe -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[no subject]

2016-03-25 Thread ratheesh kannoth
unsubscribe linux-kernel

[no subject]

2016-03-25 Thread ratheesh kannoth
unsubscribe linux-kernel

[OpenWrt-Users] MAP-E and MAP-T

2015-08-02 Thread ratheesh kannoth
I could see MAP package in r40838. 1) SHould i add nat46 package as an external feeds ? 2) Could you tell me the configuration to put in /etc/config/network ? -Ratheesh ___ openwrt-users mailing list openwrt-users@lists.openwrt.org

sock_hold and sock_put

2015-06-24 Thread ratheesh kannoth
Hi list, There is a comment on sock_hold() function - 561 /* Grab socket reference count. This operation is valid only 562when sk is ALREADY grabbed f.e. it is found in hash table 563or a list and the lookup is made under lock preventing hash table 564modifications. 565 */ But i

Re: sock_hold and sock_put

2015-06-24 Thread ratheesh kannoth
On Wed, Jun 24, 2015 at 6:16 PM, Eric Dumazet eric.duma...@gmail.com wrote: You misunderstood the comment. Comment only stated that sock_hold() must be used in contexts where caller owns a reference (and will eventually release it later with sock_put(). There is nothing about having a lock

[OpenWrt-Users] xl2tpd query

2015-06-19 Thread ratheesh kannoth
I have a client and server connected back to back. Client (A) --- Server (S ) 192.168.10.100 192.168.10.1 I ran xl2tpd on both client and server and is able to establish l2tp tunnel( with out ipsec)

Re: kbuild- sub directroy makefile

2015-04-22 Thread ratheesh kannoth
On Wed, Apr 22, 2015 at 9:36 PM, Greg KH g...@kroah.com wrote: Nope, why do you want to do that? The kernel build will show you that hello.o is being built, when it is built. Greg, There was some problem with env variables ( that i exported to shell from top ) that my makefile is using.

kbuild- sub directroy makefile

2015-04-22 Thread ratheesh kannoth
**Start of Makfile*** ccflags += -D DEXI obj-m := hello.o End* Is there any way i can echo a string ...like Hey i am building hello.o now in this makefile ? I tries targets like genbin as per

[dpdk-dev] igb claiming device.

2014-12-17 Thread ratheesh kannoth
I used unbind option...not remove. Still i face this problem On Wed, Dec 17, 2014 at 11:02 AM, ratheesh kannoth wrote: > Hi list, > > I have enic driver compiled as part of kernel. when the system comes > up, it detects all the 4 vnics in mysystem ( say eth0, eth1, eth2, > eth3).

Some tutorial initiative for beginners

2014-10-07 Thread ratheesh kannoth
Hi experts, I scribbled thru kvm code as part of my work. I would like to make it useful for beginners , as part of that effort i created blog with some stuff. Would appreciate feedback,so that i can continue enhancing or dropping the effort all together. Once again , really appreciate your

[E1000-devel] perf vtune

2014-07-18 Thread ratheesh kannoth
Hi list, which is the best profiling tool perf or vtune ? as i am working on x86_64 platform with linux 3.x os , i would appreicate any good suggestion and comparison -Ratheesh -- Want fast and easy access to all the

[Bridge] Linux Bridge is slow ?

2014-05-06 Thread ratheesh kannoth
I have two virtual machine VM1 and VM2 , which are running on ubuntu. Both VM are running ubunutu. I bridged vnet0 and vnet1 in a linux bridge on host machine. brctl addbr virbr0 brctl addif virbr0 vnet0 brctl addif virbr0 vnet1 I did a wget of 1.9G file from VM1 to VM2. it took 1

Linux Bridge is slow ?

2014-05-06 Thread ratheesh kannoth
I have two virtual machine VM1 and VM2 , which are running on ubuntu. Both VM are running ubunutu. I bridged vnet0 and vnet1 in a linux bridge on host machine. brctl addbr virbr0 brctl addif virbr0 vnet0 brctl addif virbr0 vnet1 I did a wget of 1.9G file from VM1 to VM2. it took 1

[ovs-discuss] Linux Bridge is slow ?

2014-05-06 Thread ratheesh kannoth
I have two virtual machine VM1 and VM2 , which are running on ubuntu. Both VM are running ubunutu. I bridged vnet0 and vnet1 in a linux bridge on host machine. brctl addbr virbr0 brctl addif virbr0 vnet0 brctl addif virbr0 vnet1 I did a wget of 1.9G file from VM1 to VM2. it took 1

performance same ?

2014-04-30 Thread ratheesh kannoth
i have two ubunutu vm started using virt-manager say vm1 and vm2. Both has one interface has one network interface ( vnet0 and vnet1 respectively ) and they are bridged using virbr0 ( using brctl command ). i excuted command netperf -H vm2 ip address from vm1 ubuntu machine. i

[E1000-devel] performance decrease ?

2014-04-24 Thread ratheesh kannoth
I did an experiment and this experiment gave me an unexpected result ( for me). I would like to get any clue or hint on this. [ ubuntu kernel version 3.11 ] i wrote an userpace program to create two tap devices( tap77 and tap88 ) and will epoll on these fds. if a packet is received on tap77

Enable promiscous /dev/mem in ubuntu server

2014-04-03 Thread ratheesh kannoth
I am running ubuntu server 13.10 bash #lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 13.10 Release:13.10 Codename: saucy I could see in /boot/config-3.11.0-12-generic file that CONFIG_STRICT_DEVMEM=y. 1) Is there any way to get

Re: Enable promiscous /dev/mem in ubuntu server

2014-04-03 Thread ratheesh kannoth
Thu, Apr 3, 2014 at 3:22 PM, Robie Basak robie.ba...@ubuntu.com wrote: Hi Ratheesh, On Thu, Apr 03, 2014 at 02:30:13PM +0530, ratheesh kannoth wrote: I could see in /boot/config-3.11.0-12-generic file that CONFIG_STRICT_DEVMEM=y. 1) Is there any way to get around ? I'm not sure

flush_dcache_page from user space.

2014-03-31 Thread ratheesh kannoth
I mmap'ed mmory allocated by kmalloc , to userspace. I can modify data ( in that memory region ) from kernel space or userspace and call flush_dcache_page to get it refected in both kernel and userspace. 1) if i modify a value from userspace, is there any other way to flush dcache page

[Bridge] How packet finally reach internal_dev_xmit() routine from outside ?

2014-03-19 Thread ratheesh kannoth
Hi list, openvswitch internal devices are not real nic. So some routine should receive the packet for this interface. Who is receiving packet for this internal device. Any clue is really appreciated . -Ratheesh

Re: [Bridge] How packet finally reach internal_dev_xmit() routine from outside ?

2014-03-19 Thread ratheesh kannoth
I analysed the code. Please correct me if my understanding is wrong http://kerala-freaks0.blogspot.in/2014/03/openvswitchfunctionflow.html On Wed, Mar 19, 2014 at 12:18 PM, ratheesh kannoth ratheesh@gmail.com wrote: Hi list, openvswitch internal devices are not real nic. So some routine

[ovs-discuss] How packet finally reach internal_dev_xmit() routine from outside ?

2014-03-19 Thread ratheesh kannoth
Hi list, openvswitch internal devices are not real nic. So some routine should receive the packet for this interface. Who is receiving packet for this internal device. Any clue is really appreciated . -Ratheesh ___ discuss mailing list

[yocto] Error on building

2014-03-05 Thread ratheesh kannoth
I am getting following error. what is the problem. ? How can i get around this ? ERROR: QA Issue: non -staticdev package contains static .a library: sf-test path '/work/x86_64-wrs-linux/sf/1.0-r0/packages-split/sf-test/lib/snort_dynamicengine/libsf_engine.a' ERROR: QA Issue: sf-test:

Re: [yocto] Error on building

2014-03-05 Thread ratheesh kannoth
On Wed, Mar 5, 2014 at 2:55 PM, Alex J Lennon ajlen...@dynamicdevices.co.uk wrote: Ratheesh, I believe you would need to ensure that any static libraries built are either removed or packaged appropriately so as not to trigger the Q/A error. One approach is to modify the recipe to add the

Re: [yocto] Error on building

2014-03-05 Thread ratheesh kannoth
On Wed, Mar 5, 2014 at 10:07 PM, Alex J Lennon ajlen...@dynamicdevices.co.uk wrote: On 05/03/2014 16:15, ratheesh kannoth wrote: On Wed, Mar 5, 2014 at 2:55 PM, Alex J Lennon ajlen...@dynamicdevices.co.uk wrote: Ratheesh, I believe you would need to ensure that any static libraries built

Re: [yocto] Error on building

2014-03-05 Thread ratheesh kannoth
On Wed, Mar 5, 2014 at 10:31 PM, Alex J Lennon ajlen...@dynamicdevices.co.uk wrote: On 05/03/2014 16:54, ratheesh kannoth wrote: On Wed, Mar 5, 2014 at 10:07 PM, Alex J Lennon ajlen...@dynamicdevices.co.uk wrote: On 05/03/2014 16:15, ratheesh kannoth wrote: On Wed, Mar 5, 2014 at 2:55 PM

host_fx_image, guest_fx_image ; what are they ?

2014-03-04 Thread ratheesh kannoth
Hi List, Could you please help me understand below variables ? i found it in struct kvm_vcpu char *host_fx_image; char *guest_fx_image; -Ratheesh -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More

Re: host_fx_image, guest_fx_image ; what are they ?

2014-03-04 Thread ratheesh kannoth
any hint ? or clue ? On Tue, Mar 4, 2014 at 11:35 PM, ratheesh kannoth ratheesh@gmail.com wrote: Hi List, Could you please help me understand below variables ? i found it in struct kvm_vcpu char *host_fx_image; char *guest_fx_image; -Ratheesh

where is the function paging32_page_fault() ?

2014-02-28 Thread ratheesh kannoth
I downloaded kvm-17 ( http://downloads.sourceforge.net/kvm/kvm-17.tar.gz ). I could not find the function definition in tar ball. where is it defined. ??? Thanks, Ratheesh -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More

Re: where is the function paging32_page_fault() ?

2014-02-28 Thread ratheesh kannoth
On Fri, Feb 28, 2014 at 7:37 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 28/02/2014 09:24, ratheesh kannoth ha scritto: I downloaded kvm-17 ( http://downloads.sourceforge.net/kvm/kvm-17.tar.gz ). I could not find the function definition in tar ball. That's quite old. You should just

Re: where is the function paging32_page_fault() ?

2014-02-28 Thread ratheesh kannoth
On Fri, Feb 28, 2014 at 9:17 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 28/02/2014 16:45, ratheesh kannoth ha scritto: On Fri, Feb 28, 2014 at 7:37 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 28/02/2014 09:24, ratheesh kannoth ha scritto: I downloaded kvm-17 ( http

Fwd: zero copy with PACKET_MMAP

2014-02-26 Thread ratheesh kannoth
Hi , The link https://www.kernel.org/doc/Documentation/networking/packet_mmap.txt talks about achieving zero copy. But i find a deep packet copy ( of length snaplen= skb-len ) here http://lxr.free-electrons.com/source/net/packet/af_packet.c#L1841. Is there anything missing/wrong in my

[ovs-discuss] mmap

2014-02-26 Thread ratheesh kannoth
Is there any way to mmap packets to process for a particular flow ? I would like to achieve zero copy. Thanks, Ratheesh ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[yocto] RDEPENDS

2014-02-09 Thread ratheesh kannoth
I am trying to add a package X.Package X depends on packages A . When i was configuring X , i have given include path of A and library path of A. because X is dynamically linked to libA. X.bb -- do_configure() { cd ${S} ./configure -I ../../A/include -L ../../A/src/.libs } I

[Qemu-discuss] Basic doubt on Virtual Memory

2014-01-28 Thread ratheesh kannoth
Qemu is a process in Linux. Maximum virtual address space of a process in 32 bit machine is 4GB. Virtual machine is running as qemu thread. So maximum virtual address space is 4GB for Qemu ? Thanks, Ratheesh

Redhat hypervisor default config

2013-12-01 Thread ratheesh kannoth
As far as i know, redhat kvm hypervisor is a thin linux kernel where kvm is built as part of kernel. This is a licensed one. I can create a thin linux kernel by taking only what i need and adding kvm as part of kernel. But this tedious as there is no defconfig option. I would like to

[E1000-devel] mce error

2013-08-02 Thread ratheesh kannoth
I am following getting mce error. After that system reboots. I have var log in tmpfs . so it gets erased when it reboots. This is the only info , i got. How to interpret each field ? any help is really appreciated . CPU 2: Machine Check Exception:4 Bank 8: fe00a081009f TSC

Re: [E1000-devel] mce error

2013-08-02 Thread ratheesh kannoth
Any clue on how to debug is really appreciated? On Fri, Aug 2, 2013 at 12:51 PM, ratheesh kannoth ratheesh@gmail.com wrote: I am following getting mce error. After that system reboots. I have var log in tmpfs . so it gets erased when it reboots. This is the only info , i got. How

scheduler context

2013-04-17 Thread ratheesh kannoth
I would like to understand on linux scheduler context. I have read a lot in websites and i could find contradictory statement. There are so many mailing list also ,but with less info. I would really appreciate if anybody could spend some time answering my question. 1. Which context scheduler run

scheduler context

2013-04-17 Thread ratheesh kannoth
I would like to understand on linux scheduler context. I have read a lot in websites and i could find contradictory statement. There are so many mailing list also ,but with less info. I would really appreciate if anybody could spend some time answering my question. 1. Which context scheduler run

[ovs-discuss] openvswitch on UML

2013-03-21 Thread ratheesh kannoth
i compiled 2.6.34 uml kernel and tried to run openvswitch as specified in https://www.os3.nl/2009-2010/students/arthur_van_kleef/openflow But ./usr/local/sbin/ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db --remote=punix:/usr/local/var/run/openvswitch/db.sock gets hang I dont see any error

[E1000-devel] igb_down from bottom half context

2013-03-05 Thread ratheesh kannoth
I have kernel timer which check for flag. if(flag ) { igb_down(adapter); } else { igb_up(adapter); } I could see a kernel crash; because there are a lot of msleep() in igb_down function. #define msleep(x)do { set_current_state(TASK_UNINTERRUPTIBLE); \

[E1000-devel] pcie error

2013-02-27 Thread ratheesh kannoth
I am getting an error when i send traffic thru 8086:10e6 device +-- PCI-Express Device Error --+ Error Severity : Uncorrected (Non-Fatal) PCIE Bus Error type : Transaction Layer Completion Timeout : Multiple Requester ID: 0028 VendorID=8086h, DeviceID=d13ah,

Re: [E1000-devel] pcie error

2013-02-27 Thread ratheesh kannoth
Message- From: ratheesh kannoth [mailto:ratheesh@gmail.com] Sent: Wednesday, February 27, 2013 2:40 AM To: e1000-devel@lists.sourceforge.net; linux-...@vger.kernel.org Subject: [E1000-devel] pcie error I am getting an error when i send traffic thru 8086:10e6 device +-- PCI-Express

Re: [E1000-devel] pcie error

2013-02-27 Thread ratheesh kannoth
or mother board ? how can i conclude ? Thanks -Original Message- From: ratheesh kannoth [mailto:ratheesh@gmail.com] Sent: Wednesday, February 27, 2013 8:30 AM To: Ronciak, John Cc: e1000-devel@lists.sourceforge.net; linux-...@vger.kernel.org Subject: Re: [E1000-devel] pcie error

Re: [E1000-devel] pcie error

2013-02-27 Thread ratheesh kannoth
are new. And we have 10 numbers each of those cards. we tested all the ten 8086:10e6 nic, but same problem happens. How can you confirm this is a real hw problem ? -Ratheesh Cheers, John -Original Message- From: ratheesh kannoth [mailto:ratheesh@gmail.com] Sent: Wednesday

[E1000-devel] Multiple Link Up without Link Down

2012-11-29 Thread ratheesh kannoth
Hi, I am using e1000 driver. I happened to see multiple watdog messages in a small interval of time. But all those messages are Link is up 1000mbps full duplex . But there is no Link Down messages. How Link can go up multiple times without going down ? -Ratheesh

[E1000-devel] link flaps and tx dma

2012-11-29 Thread ratheesh kannoth
Hi, igb driver, Linux platform Suppose dma to tx ring is successful and There are a lot of link flaps happens in short period of time. So 1) NIC will queue these packets and try to transmit when link becomes up again ? 2) Suppose a lot of dma happens , where the new packets will store ? 3)

[E1000-devel] ia64 linux question

2012-11-14 Thread ratheesh kannoth
Hi, I am running 2.6.29.1 on ia-64 hardware. when i run below code in a module void *ptr = kmalloc( 10 ,GFP_KERNEL ) i got a valid ptr ( ptr != NULL ) ..but i saw that ptr == vitr_to_phy(ptr ) == virt_to_bus(ptr ) 1. why the physical and vitrual address are same ? 2. is this sthing

[E1000-devel] dma_map_page and dma_map_single

2012-10-25 Thread ratheesh kannoth
Hi , I was looking at tx_map ( igb-3.3.6 ) in igb driver. I could see that dma_map_single is used for first buffer and dma_map_page is used for the fragments. What is the real difference between these api ? we can replace dma_map_single with dma_map_page. then why we used dma_map_single

[E1000-devel] igb mtu change

2012-10-17 Thread ratheesh kannoth
igb_change_mtu change is only changing adapter-rx_ring[0]-rx_buffer_len. 1) we dont have to change adapter-tx_ring[0]-rx_buffer_len ? 2) Is there any way to set different values to adapter-tx_ring[0]-rx_buffer_len and adapter-rx_ring[0]-rx_buffer_len ? I am facing a problem because i have a

Re: [E1000-devel] igb mtu change

2012-10-17 Thread ratheesh kannoth
On Thu, Oct 18, 2012 at 1:39 AM, Alexander Duyck alexander.h.du...@intel.com wrote: The current igb driver does receive the frame data into 2K buffers, and transmits up to MTU size. The only limitation on the size of the frame you can transmit is the netdev-mtu which the driver doesn't

virtual --physical -- virtual address

2011-10-15 Thread ratheesh kannoth
{ virtual_addr1 = kmalloc(0x20, GFP_USER); phy_addr1 = __pa(virtual_addr1 ); virtual_addr2 = ioremap(phy_addr1, 0x20 ); } I noticed that virtual_addr1 is not equal to virtual_addr2. And if i dereference virtual_addr2 ( *virtual_addr2 ), kernel crash. What is wrong here ? -Ratheesh -- To

[uml-user] routing table error in 2.6.39 ..

2011-09-22 Thread ratheesh kannoth
I built UML (user mode linux ) for 2.6.38 and 2.6.39 kernels. in 2.6.38 routing table is correct. But in 2.6.39 default gw appears on top of the routing table. same problem persist in 3.0.0 also. is it a known problem or fixed in higher versions ? -Ratheesh

[uml-devel] routing table error in 2.6.39 ..

2011-09-22 Thread ratheesh kannoth
I built UML (user mode linux ) for 2.6.38 and 2.6.39 kernels. in 2.6.38 routing table is correct. But in 2.6.39 default gw appears on top of the routing table. same problem persist in 3.0.0 also. is it a known problem or fixed in higher versions ? -Ratheesh

[uml-user] Adding bytes to physical memory to account for exec-shield gap Aborted

2011-09-21 Thread ratheesh kannoth
Hi, i downloaded linux 2.6.31 version and compiled for  ARCH=um SUBARCH=i386 ( 32bit uml) my linux machine (64bit ubunt lucid )  gcc  version is  (Ubuntu 4.4.3-4ubuntu5) 4.4.3 root@dasaradham-laptop:/home/fox/workout/torvalds-linux-a271b16# ./linux

Re: [E1000-devel] Unexpected downshift

2011-09-02 Thread ratheesh kannoth
have 'lspci'?  It matters for possible configuration changes to help you.  We really could use that data. Cheers, John -Original Message- From: ratheesh kannoth [mailto:ratheesh@gmail.com] Sent: Sunday, August 28, 2011 11:44 PM To: Allan, Bruce W Cc: e1000-devel

Re: [E1000-devel] Unexpected downshift

2011-08-29 Thread ratheesh kannoth
://sourceforge.net/tracker/?group_id=42302atid=447449 and provide a full description of your environment (particularly the output from 'lspci -vvv' run as root) and reproduction scenario. Thanks, Bruce. -Original Message- From: ratheesh kannoth [mailto:ratheesh@gmail.com] Sent

Re: [ECOS] AF_UNIX in ecos

2011-05-14 Thread ratheesh kannoth
On Thu, May 12, 2011 at 5:16 PM, Daniel Morris dani...@ecoscentric.com wrote: On Thu, May 12, 2011 at 04:44:24PM +0530, ratheesh kannoth wrote: eCos support AF_UNIX sockets ? Round cheeses roll? http://www.gerv.net/hacking/how-to-ask-good-questions/  Daniel

Re: [ECOS] Any problem ?

2011-03-28 Thread ratheesh kannoth
On Fri, Mar 25, 2011 at 9:24 PM, Gary Thomas g...@mlbassoc.com wrote: On 03/25/2011 09:40 AM, ratheesh kannoth wrote: On Fri, Mar 25, 2011 at 9:07 PM, Gary Thomasg...@mlbassoc.com  wrote: How are you connecting to the keyboard?  If you are just using stdin, the default will be the debug

[ECOS] crash in task.

2011-03-25 Thread ratheesh kannoth
Hi, There are several applications runs on eCos. say a,b,c z. Application c is newly added. But after addition of this application, eCos box crashes and reboot if we enter any key on the keyboard. But without C , all other application runs and no prob in entering keys. I am a beginner in

[ECOS] Any problem ?

2011-03-25 Thread ratheesh kannoth
Is there any prob with below code segment in eCos ? { fd_set rd_fds; FD_ZERO(rd_fds); while (1) { timeout.tv_sec = 1; timeout.tv_usec = 0; if (select(0, rd_fds, NULL,

Re: [ECOS] Any problem ?

2011-03-25 Thread ratheesh kannoth
On Fri, Mar 25, 2011 at 8:54 PM, Gary Thomas g...@mlbassoc.com wrote: On 03/25/2011 09:17 AM, ratheesh kannoth wrote: Is there any prob with below code segment  in eCos ? {                fd_set rd_fds;                FD_ZERO(rd_fds);                 while (1

Re: [ECOS] Any problem ?

2011-03-25 Thread ratheesh kannoth
more. -Ratheesh On 03/25/2011 09:27 AM, ratheesh kannoth wrote: On Fri, Mar 25, 2011 at 8:54 PM, Gary Thomasg...@mlbassoc.com  wrote: On 03/25/2011 09:17 AM, ratheesh kannoth wrote: Is there any prob with below code segment  in eCos ? {                fd_set rd_fds