Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
It worked! I can ping from both sides. Thanks a lot, Alin! I really appreciate your guidance. On Thu, Apr 20, 2023 at 5:21 PM Abu Rasheda wrote: > I was able to change the name > > On Thu, Apr 20, 2023 at 4:35 PM Abu Rasheda wrote: > >> PS C:\OVS-Compiled> Get-VMNetworkAd

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
I was able to change the name On Thu, Apr 20, 2023 at 4:35 PM Abu Rasheda wrote: > PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort left| grep ElementName > ElementName : ovs-port-a > PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort right| grep ElementNam

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
> > After add you can add it to the br-int bridge using that name. > > Sent from phone > > On 21 Apr 2023, at 01:36, Abu Rasheda wrote: > >  > PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort left| grep ElementName > ElementName

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
; There are also setters and getters in that cmdlet. > > Sent from phone > > On 21 Apr 2023, at 00:46, Abu Rasheda wrote: > >  > There is no column with ElementName. I am attaching the full output. I > probably missed something in the configuration. > > Thanks! >

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
> > Sent from phone > > On 21 Apr 2023, at 00:15, Abu Rasheda wrote: > >  > On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean > wrote: > >> PS C:\OVS-Compiled> ovs-vsctl.exe show >> ca9219b1-ceca-435e-b42a-b3e094237045 >> Bridge

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
e OVS, the other NIC is not configured. What I am missing? Thanks for the support. > > From your config I’m not sure which adapter corresponds to which VM. > > Ca you please clarify the target and destination port you want to ping? > > Alin. > > Sent from phone > > On 20 Apr

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
/windows/#add-virtual-interfaces-vifs > I followed your advice! I am able to add both Ubuntus to the bridge. However, the ping does. not work. (The details are attached to this email). I think the issue is attaching the correct VM ports? Am I missing something? Abu Rasheda This is somethin

Re: [ovs-discuss] OVS setup on Winodws

2023-04-17 Thread Abu Rasheda via discuss
/latest/intro/install/windows/#add-virtual-interfaces-vifs > > This is something particularly important for Windows and not the same > under other OS. > > Alin. > > Sent from phone > > On 17 Apr 2023, at 20:33, Abu Rasheda via discuss < > ovs-discuss

Re: [ovs-discuss] OVS setup on Winodws

2023-04-17 Thread Abu Rasheda via discuss
Do you have any ideas, or if this is the wrong list, the recommendation for another one? On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss < ovs-discuss@openvswitch.org> wrote: > Hello! > > On Windows Server 2019, compiled, and loaded OVS kernel module. > Commands li

[ovs-discuss] OVS setup on Winodws

2023-04-13 Thread Abu Rasheda via discuss
Hello! On Windows Server 2019, compiled, and loaded OVS kernel module. Commands like ovs-vsctl & ovs-dpctl are running fine. I have two VMs (both running Ubuntu) under Hyper-V and have OVS extended switch setup as described in https://docs.openvswitch.org/en/latest/intro/install/windows/ I can

Re: Replace two ioread32 with ioread64_lo_hi non_atomic

2022-04-25 Thread Abu Rasheda
On Mon, Apr 25, 2022 at 1:32 PM Philipp Hortmann < philipp.g.hortm...@gmail.com> wrote: > Hi, > > in this patch: > [PATCH 4/5] staging: vt6655: Replace two VNSvInPortD with ioread64_lo_hi > > I tried to combine two reads in one. > > if (ww == W_MAX_TIMEOUT) > return false;

Re: nm-openvswitch on debian/ubuntu

2021-07-28 Thread Abu Rasheda via networkmanager-list
First, make sure that ovs is installed correctly, e.g. E.g. make sure something like this works ovs-vsctl add-br MyBridge if this is working, you would need the following three commands to create a bridge and should in ovs-vsctl output nmcli conn add type ovs-bridge conn.interface MyBridge

Change OVS bonding type using nmcli

2021-07-13 Thread Abu Rasheda via networkmanager-list
I have a bond, and running ovs-appctl bond/list bond type recircID slaves MyBond active-backup 0 enp0s8, enp0s9 If I run: nmcli connection modify ovs-slave-MyBond ovs-port.bond-mode balance-tcp ovs-appctl bond/list bond type recircID slaves MyBond active-backup 0 enp0s8, enp0s9 nmcli conn

LACP settings using nmcli

2021-07-13 Thread Abu Rasheda via networkmanager-list
I am using following command to select LACP and active mode (for OVS bond), nmcli conn add type ovs-port conn.interface MyBond master MyBridge ovs-port.bond-mode balance-tcp ovs-port.lacp active ovs-appctl bond/show MyBond bond_mode: balance-tcp bond may use recirculation: yes,

Bonding using nmcli for OVS

2021-06-03 Thread Abu Rasheda via networkmanager-list
.bond-mode ovs-port.lacpovs-port.vlan-mode Also, I need to modify options, such as active passive timeout How can I modify these values after the bond is already created? Thanks Abu Rasheda ___ networkmanager-list mailing list

Re: Network Manager + ovsdb issues

2021-05-25 Thread Abu Rasheda via networkmanager-list
see inline On Tue, May 25, 2021 at 12:24 AM Thomas Haller wrote: > Hi, > > > On Mon, 2021-05-24 at 14:35 -0700, Abu Rasheda via networkmanager-list > wrote: > > Hello, > > > > I am seeing two issues with NM and ovsdb. Issue # 2 is more critical. > > >

Network Manager + ovsdb issues

2021-05-24 Thread Abu Rasheda via networkmanager-list
Hello, I am seeing two issues with NM and ovsdb. Issue # 2 is more critical. In my configuration, I have two bridges in OVS. On one of the bridge, the interface needs to be under Network Manager, so I have changed commands to: nmcli conn add type ovs-bridge conn.interface nmcli conn add type

Re: multiple profiles

2021-04-19 Thread Abu Rasheda via networkmanager-list
Thanks, for the reply! So I have to check manually? no way nmcli saying file exits and quit. (because it will still make a file with name ifcfg-xxx-1 if ifcfg-xxx exist). On Fri, Apr 16, 2021 at 11:27 PM Thomas Haller wrote: > On Fri, 2021-04-16 at 17:57 -0700, Abu Rasheda via networkmana

multiple profiles

2021-04-16 Thread Abu Rasheda via networkmanager-list
E.g. running the following command multiple times nmcli conn add type ethernet will create multiple files -rw-r--r--. 1 root root 270 Apr 16 20:53 ifcfg-ethernet -rw-r--r--. 1 root root 272 Apr 16 20:54 ifcfg-ethernet-1 Is it possible for nmcli to see that ifcfg-ethernet already exist and not

Output silence!

2021-04-16 Thread Abu Rasheda via networkmanager-list
When a command is executed using nmcli, on the success a line like the following is printed. Connection 'eth0-ethernet' (a24480cb-f5d6-40a6-a716-dba09ab53d07) successfully added. Is it possible to not have this line go to standard out? without using ">" operator. May some switch can be passed to

Re: how to debug problem with "failing unmounting"

2020-07-09 Thread Abu Rasheda
On Thu, Jul 9, 2020 at 5:24 AM Tomek The Messenger < tomekthemessen...@gmail.com> wrote: > Hi > On the soc on which I work there is issue with unmouting some > partitions/directories during /sbin/reboot, here is some example: > > [ OK ] Stopped target Local File System. > Unmouting Temporary

Re: Kernel Module with multiple source files not initializing

2019-10-25 Thread Abu Rasheda
On Fri, Oct 25, 2019 at 2:16 AM Irfan Ullah (울라 이르판) wrote: > Dear All, > I have developed a kernel module consists of one source file that sends > and receives message to the user space. I have spitted the source code in > two files, and now I am trying to develop kernel module from these

Re: WOL from S5 (shutdown)

2019-07-31 Thread Abu Rasheda
any pointers? On Fri, Jul 26, 2019 at 4:56 PM Abu Rasheda wrote: > Hello, > > I understand how the computer running Linux would wake up from USB based > ethernet from S3 (suspend) state. But, I am missing some piece of > information for WOL on USB ethernet from S5 (shutdown)

WOL from S5 (shutdown)

2019-07-26 Thread Abu Rasheda
me out a book or explain? Thanks. Abu Rasheda ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: a Linux device driver

2018-06-05 Thread Abu Rasheda
On Tue, Jun 5, 2018 at 1:51 AM, Ozgur Kara wrote: > > > 05.06.2018, 08:57, "valdis.kletni...@vt.edu" : > > On Mon, 04 Jun 2018 15:49:37 -0700, Abu Rasheda said: > > > >> Any recommendations what device driver is missing and open source > >> com

a Linux device driver

2018-06-04 Thread Abu Rasheda
Hello, I am an experienced Linux kernel and driver developer and have some time! I like to develop a driver for Linux open source. Any recommendations what device driver is missing and open source community could benefit from a new driver or enhance some existing driver? Where could I go for

Re: using SD card on Broadcom 4709 eval board

2014-11-23 Thread Abu Rasheda
On Sun, Nov 23, 2014 at 3:09 AM, Paul Bolle pebo...@tiscali.nl wrote: The depends on line you quoted was added in v2.6.32, which is still supported, so the tree you're using might not be seen as extremely old by everyone. I think it i 3.6.3x where x is I think 4 The above is a verbose way to

using SD card on Broadcom 4709 eval board

2014-11-22 Thread Abu Rasheda
I have been trying to use SD card on Broadcom's 4709 eval board. Linux kernel tree provided with SDK seems to have few SDIO drivers, but non of them seems to be working or more accurately, loading them does not list device in /proc/devices, so I can create block file to mount it. After googling

Re: using SD card on Broadcom 4709 eval board

2014-11-22 Thread Abu Rasheda
depends on B43 SSB_SDIOHOST_POSSIBLE EXPERIMENTAL, EXPERIMENTAL was removed in v3.9. So this concerns a pre-v3.9 tree? Yes, it is 2.6 kernel. I know this is extremely old.I just want to have SD card working, any suggestions ? off the above B43 is only shows up in arch/ppc, You mean

[no subject]

2014-09-22 Thread Abu Rasheda
unsubscribe kvm -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Writing kernel in C

2014-05-26 Thread Abu Rasheda
1. It called TempOS. It is a kernel for educational purpose too. http://tempos-project.org The project is listed in OSDev Wiki too http://wiki.osdev.org/Projects 2. Here's another nice one: https://fosdem.org/2014/schedule/event/04_uk_escape 3. take a look at that [0], it's a small

Re: how tso (tcp segmentation offload) effect TCP bidirectional test sending throughput.

2014-04-11 Thread Abu Rasheda
On Fri, Apr 11, 2014 at 3:10 AM, Varun Sharma vsd...@gmail.com wrote: Hi, if we off tso (tcp segmentation offload) on sending side , *TCP Bidirectional* test sending throughput decrease as compare to *TCP Unidirectional *test sending throughput . whereas if we on tso(tcp segmentation

Re: Non-consistent CPU usage in IP forwarding test

2014-04-03 Thread Abu Rasheda
On Thursday, April 3, 2014, Oleg A. Arkhangelsky syso...@yandex.ru wrote: Hello all, We've got very strange behavior when testing IP packet forwarding performance on Sandy Bridge platform (Supermicro X9DRH with the latest BIOS). This is two socket E5-2690 CPU system. Using different PC

Re: using perf tool

2013-12-08 Thread Abu Rasheda
compiled kernel module on this machine, perf can get path from the binary and locate the source. enjoy. On Fri, Dec 6, 2013 at 7:14 PM, Abu Rasheda rcpilot2...@gmail.com wrote: Guys, I want to annotate Linux kernel module with c-source using perf tool. Is it possible ? can someone points me

Re: module vs main kernel

2013-12-04 Thread Abu Rasheda
rcpilot2...@gmail.com wrote: I have my implementation of socket APIs, I sock_unregister(AF_INET); sock_register(inet_family_ops), this replaces kernel resident socket related calls with my socket related calls. My code is loaded as kernel module. My question, is Linux kernel able to call

module vs main kernel

2013-12-02 Thread Abu Rasheda
I have my implementation of socket APIs, I sock_unregister(AF_INET); sock_register(inet_family_ops), this replaces kernel resident socket related calls with my socket related calls. My code is loaded as kernel module. My question, is Linux kernel able to call its own socket call more

Re: How to avoid packet drop

2013-10-04 Thread Abu Rasheda
I am running a tool that is a packet generator. With that tool i am able to achieve line/link rate on my 1Gbps network. I have two queries Query 1) When i run the same tool on 10Gbps network i am able to achieve only 5Gbps rate.( by network i mean i have two machines with Centos 6.4

Re: valid address space ?

2013-02-25 Thread Abu Rasheda
On Sun, Feb 24, 2013 at 11:23 PM, valdis.kletni...@vt.edu wrote: On Sun, 24 Feb 2013 21:37:48 -0800, Abu Rasheda said: tmp_long_ptr = ((long_ptr 0x8000) ? (long_ptr | 0x8000) : (long_ptr 0x)); This will not do what you think it does when compiled

valid address space ?

2013-02-24 Thread Abu Rasheda
I am trying to dump some kernel data structure (walk e.g. task or file data structure on x86_64 arch). Sometime accessing through a pointer, pointer may not be NULL, but pointing to invalid address due to garbage value. What I am looking for is range of address which are valid for kernel data

Re: valid address space ?

2013-02-24 Thread Abu Rasheda
On Sunday, February 24, 2013, Abu Rasheda wrote: I am trying to dump some kernel data structure (walk e.g. task or file data structure on x86_64 arch). Sometime accessing through a pointer, pointer may not be NULL, but pointing to invalid address due to garbage value. What I am looking

Re: How the follow Starts in Android-Kernel

2013-02-07 Thread Abu Rasheda
On Tue, Feb 5, 2013 ... http://www.linux-arm.org/LinuxBootLoader/SMPBoot http://duartes.org/gustavo/blog/post/how-computers-boot-up for i86 http://duartes.org/gustavo/blog/post/how-computers-boot-up Does something similar exist for MIPS ? Thanks

Re: Any way to do time keeping during kernel uncompression[ARM architecture]

2013-02-06 Thread Abu Rasheda
On Wed, Feb 6, 2013 at 3:53 AM, sandeep kumar coolsandyfor...@gmail.comwrote: Dear All FYI: I got the below data in my board... For Zimage: Copy from eMMC to RAM(bootloader) other stuff in bootloader -- 200msec Kernel relocation --- 1msec Kernel uncompression -- 700msec Total time taken

Re: Module vs Kernel main performacne

2012-06-08 Thread Abu Rasheda
I modified my module (m.c). Still sending buffer from user space using ioctl, but instead of copying data from buffer provided by user, I have allocated (kmalloc) a buffer and I copy from this buffer to another kernel buffer which is allocated each time this module ioclt is invoked.

Re: Module vs Kernel main performacne

2012-06-07 Thread Abu Rasheda
Hello Abu, I had to include linux/module.h or an error was issued about THIS_MODULE. I am running this tool on Scientific Linux 6.0, which is 2.6.32 kernel. I know this is old but this is what I have for my product. What Kernel version are you using? I'm trying to compile it and I'm

Re: Module vs Kernel main performacne

2012-06-07 Thread Abu Rasheda
peter.se...@gmail.com wrote: Hi again! Hi How did you call from Kernel module? In original code, copied data is dmaed and in experimental code data is dropped. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Module vs Kernel main performacne

2012-06-01 Thread Abu Rasheda
the behavior. Abu Rasheda m.tgz Description: GNU Zip compressed data ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Module vs Kernel main performacne

2012-05-31 Thread Abu Rasheda
On Wed, May 30, 2012 at 10:35 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi... On Thu, May 31, 2012 at 4:44 AM, Abu Rasheda rcpilot2...@gmail.com wrote: as I increase size of buffer, insns per cycle keep decreasing. Here is the data:    1k 0.90  insns per cycle    8k 0.43  insns

Re: Module vs Kernel main performacne

2012-05-30 Thread Abu Rasheda
I did another experiment. Wrote a stand alone module and user program which does ioctl and pass buffer to kernel module. User program passes a buffer through ioctl and kernel module does kmalloc on it and calls copy_from_user, kfree and return. Test program send 120 gigabyte data to module. If

Re: Module vs Kernel main performacne

2012-05-30 Thread Abu Rasheda
On Wed, May 30, 2012 at 2:44 PM, Abu Rasheda rcpilot2...@gmail.com wrote: I did another experiment. Wrote a stand alone module and user program which does ioctl and pass buffer to kernel module. User program passes a buffer through ioctl and kernel module does kmalloc on it and calls

Module vs Kernel main performacne

2012-05-29 Thread Abu Rasheda
Hi, I am working on x8_64 arch. Profiled (oprofile) Linux kernel module and notice that whole lot of cycles are spent in copy_from_user call. I compared same flow from kernel proper and noticed that for more data through put cycles spent in copy_from_user are much less. Kernel proper has 1/8

Re: Module vs Kernel main performacne

2012-05-29 Thread Abu Rasheda
What I meant here is, there must be difference speed when you copy onto something contigous vs non contigous. IIRC at least it will waste some portion of L1/L2 cache. When you say, LKM area is prepared with vmalloc is it for code / executable you refering too ? if so will it matter for data

Re: Kernel latency for handling the Network traffic

2012-05-03 Thread Abu Rasheda
On Thu, May 3, 2012 at 6:54 AM, mic...@michaelblizek.twilightparadox.com wrote: Hi! On 16:33 Thu 03 May     , Suresh Kumar Subramanian wrote: Hi, I am building the router based on linux kernel. The hardware details are below, 2 - 64 bit quad core processor (3Ghz core). RAM-  24GB RAM.

Linux kernel networking stack

2011-10-11 Thread Abu Rasheda
I want to embark on journey of learning Linux networking stack. I want suggestions, what is best way to do this. Any book recommendation, any documentation which might exist. Thanks. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Debugging IP packet through Linux stack

2011-09-21 Thread Abu Rasheda
I am inserting packets into Linux stack and they are accepted by net_rx function, but are latter dropped. What tools are available in Linux kernel to for debugging this issue. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Debugging IP packet through Linux stack

2011-09-21 Thread Abu Rasheda
On Wed, Sep 21, 2011 at 10:26 PM, Abu Rasheda rcpilot2...@gmail.com wrote: I am inserting packets into Linux stack and they are accepted by net_rx function, but are latter dropped. What tools are available in Linux kernel to for debugging this issue. I discovered that /proc/net/snmp files

Re: Compiling kernel module ...

2011-08-06 Thread Abu Rasheda
On Fri, Aug 5, 2011 at 5:10 PM, Akash email2akashj...@gmail.com wrote: Use #if like * *#define KERNEL_VERSION(a,b,c) (((a) 16) + ((b) 8) + (c)) #if LINUX_VERSION_CODE = KERNEL_VERSION(2, 6, 33) // New socket create function #else // Old socket create function

Compiling kernel module ...

2011-08-05 Thread Abu Rasheda
I am compiling my driver and have run into following scenario. Socket create function got a new parameter in Vanila kenrel 2.6.33. while Scientific Linux has it back ported to 2.6.32. How do I handle this kind of situation ? so that my driver compiles for both kernel versions.

Re: Linux kernel test suites

2011-05-23 Thread Abu Rasheda
Thank to all of you who replied. I will check these out. Abu Rasheda On Sun, May 22, 2011 at 9:40 PM, sanjeev sharma sanjeevsharmae...@gmail.com wrote: Hey, You can refer Autotest. Thanks Sanjeev sharma On Sat, May 21, 2011 at 5:03 AM, Abu Rasheda rcpilot2...@gmail.com wrote: Can

Fwd: Sleep and Wake up

2011-05-02 Thread Abu Rasheda
I am testing my driver on much faster host processor and facing following issues: My host is too powerful and it can fill up device buffer queue very fast. What kind of device is this? its a networking device It sounds like a broken device, you need to be able to handle large data

Re: Learning hardware ...

2010-10-19 Thread Abu Rasheda
to start with simple SBC and program. Do you guys suggest, to read some text book etc before this to have correct context ? At work, we are mostly involved with x86 and MIPS, this is why I am interested in this. Thanks Abu Rasheda -- To unsubscribe from this list: send an email

Re: Learning hardware ...

2010-10-19 Thread Abu Rasheda
Get some related documentation and start reading I am ready to spend time and money. Any suggestions what can I read ? At this point I am looking for something which will lay foundation in general for a software guy, who needs to understand hardware in order to write efficient code, etc. You

Re: Learning hardware ...

2010-10-19 Thread Abu Rasheda
Any suggestions what can I read ? Is your list ready ?        :o) 1. User Guide - Data Sheet 2. Application Notes 3. Code examples 4. Use Wikipedia to get quick answers and directions. Thanks for your suggestions. This is something I can start with. Victor, I am going to checkout

Learning harware ...

2010-10-16 Thread Abu Rasheda
Trying once more. It did not show up in my mail box. Any suggestions ? Kernel newbies list has seen hardware related questions and good explanation by Dave, Stephan Greg. What I want is some directions. I know C well and have done kernel programming and feel comfortable with many of kernel