Re: [PATCH net-next-2.6] IB/{nes,ipoib}: Pass supported flags to ethtool_op_set_flags()

2010-07-04 Thread David Miller
From: Roland Dreier Date: Sat, 03 Jul 2010 13:08:29 -0700 > > Following commit 1437ce3983bcbc0447a0dedcd644c14fe833d266 "ethtool: > > Change ethtool_op_set_flags to validate flags", ethtool_op_set_flags > > takes a third parameter and cannot be used directly as an > > implementation of ethtoo

RE: When IBoE will be merged to upstream?

2010-07-04 Thread Liran Liss
S.B. --Liran -Original Message- From: Roland Dreier [mailto:rdre...@cisco.com] Sent: Saturday, July 03, 2010 11:34 PM To: Liran Liss Cc: Jason Gunthorpe; Hefty, Sean; Aleksey Senin; linux-rdma; mo...@voltaire.com; aleks...@voltaire.com; yift...@voltaire.com; Tziporet Koren; al...@voltai

[PATCH V1 4/4] Add RAW_PACKET to ib_attach/detach mcast calls

2010-07-04 Thread Aleksey Senin
Added RAW_PACKET to ib_attach/detach calls Add iWARP transport to attach/detach mcast. Differentiate between transport types when dealing with multicast. Signed-off-by: Aleksey Senin --- drivers/infiniband/core/verbs.c | 24 1 files changed, 20 insertions(+), 4 deleti

[PATCH V1 3/4] Security check on QP type

2010-07-04 Thread Aleksey Senin
Check if user process has permission to create RAW_PACKET QP. In order to prevent regular user from creating malicious packets, at the time of QP creation, kernel will check if the process has necessary permissions. This examination areis done in uverbs layer and is general for all low level drive

[PATCH V1 2/4] New RAW_PACKET QP type definition

2010-07-04 Thread Aleksey Senin
The following patches add a new QP type named RAW_PACKET. This type of QP is used in Ethernet environment and intended for creation of a whole packet, including L2 headers, from userspace. Reserve a place for future XRC patch in order to be sure that OFED kernel ABI will not broken when XRC and R

[PATCH V1 1/4] Rename RAW_ETY to RAW_ETHERTYPE

2010-07-04 Thread Aleksey Senin
Rename RAW_ETY to RAW_ETHERTYPE in order to be more precise to IBA qp types. See discussion at http://www.mail-archive.com/linux-rdma@vger.kernel.org/msg04530.html Signed-off-by: Aleksey Senin --- drivers/infiniband/core/verbs.c |4 ++-- drivers/infiniband/hw/ehca/ehca_qp.c|

[PATCH V1 0/4] New RAW_PACKET QP type

2010-07-04 Thread Aleksey Senin
The following patches add a new QP type named RAW_PACKET. This type of QP is used in Ethernet environment and intended for creation of a whole packet, including L2 headers, from userspace. In order to prevent regular user from creating malicious packets, at the time of QP creation, kernel will che

RE: [RFC] naming for new QP types

2010-07-04 Thread Moni Shoua
If I understand you right this time then you ask what about will happen if user calls create_qp() from user space with qp_type=6. Right? I guess that this should be handled in code like with any other illegal value. --- Moni Shoua| +972-54-5567934 -O