UMAD_GET_PORT(3) OpenIB Programmer's Manual UMAD_GET_PORT(3)NAME
umad_get_port, umad_release_port - open and close an InfiniBand port
SYNOPSIS
#include <infiniband/umad.h>
int umad_get_port(char *ca_name, int portnum, umad_port_t *port);
int umad_release_port(umad_port_t *port);
DESCRIPTION
umad_get_port() fills the port structure with the IB port attributes specified by ca_name and portnum , or the default port if ca_name is
NULL and portnum is zero. If only one of ca_name and portnum are specified, the other is used as a filter. For example, passing a NULL
ca_name and 2 for the portnum means get a port from any of the local IB devices, as long as it is the second port. Note that the library
may use some reference scheme to support port caching therefore umad_release_port() should be called before the port structure can be deal-
located. The argument port is an umad_port_t struct, as specified in <infiniband/umad.h>.
typedef struct umad_port {
char ca_name[UMAD_CA_NAME_LEN]; /* Name of the device */
int portnum; /* Physical port number */
uint base_lid; /* Base port LID */
uint lmc; /* LMC of LID */
uint sm_lid; /* SM LID */
uint sm_sl; /* SM service level */
uint state; /* Logical port state */
uint phys_state; /* Physical port state */
uint rate; /* Port link bit rate */
uint64_t capmask; /* Port capabilities */
uint64_t gid_prefix; /* Gid prefix of this port */
uint64_t port_guid; /* GUID of this port */
} umad_port_t;
umad_release_port() releases the resources that were allocated by the umad_get_port() function for the specified IB port.
RETURN VALUE
umad_get_port() and umad_release_port() return 0 on success, and a negative value on error.
AUTHORS
Hal Rosenstock <halr@voltaire.com>
Dotan Barak <dotanb@mellanox.co.il>
OpenIB May 21, 2007 UMAD_GET_PORT(3)
Check Out this Related Man Page
UMAD_GET_CA(3) OpenIB Programmer's Manual UMAD_GET_CA(3)NAME
umad_get_ca, umad_release_ca - get and release InfiniBand device port attributes
SYNOPSIS
#include <infiniband/umad.h>
int umad_get_ca(char *ca_name, umad_ca_t *ca);
int umad_release_ca(umad_ca_t *ca);
DESCRIPTION
umad_get_ca() gets the attributes of the InfiniBand device ca_name. It fills the ca structure with the device attributes specified by the
ca_name or with the default device attributes if ca_name is NULL. umad_release_ca() should be called before the ca structure is deallo-
cated. The argument ca is an umad_ca_t struct, as specified in <infiniband/umad.h>.
typedef struct umad_ca {
char ca_name[UMAD_CA_NAME_LEN]; /* Name of the device */
uint node_type; /* Type of the device */
int numports; /* Number of physical ports */
char fw_ver[20]; /* FW version */
char ca_type[40]; /* CA type (e.g. MT23108, etc.) */
char hw_ver[20]; /* Hardware version */
uint64_t node_guid; /* Node GUID */
uint64_t system_guid; /* System image GUID */
umad_port_t *ports[UMAD_CA_MAX_PORTS]; /* Array of device port properties */
} umad_ca_t;
umad_release_ca() releases the resources that were allocated in the function umad_get_ca().
RETURN VALUE
umad_get_ca() and umad_release_ca() return 0 on success, and a negative value on error.
AUTHORS
Hal Rosenstock <halr@voltaire.com>
Dotan Barak <dotanb@mellanox.co.il>
OpenIB May 21, 2007 UMAD_GET_CA(3)
hi
if i do a portscan on my fbsd box, i got one port that i don't want to see it open
that's port 111, sunrpc, how can i close it?
and also my-sql port 1433 and port 1523 (cichild-lm)
tnx for your help!! (6 Replies)
Dears,
I have server has two port's(Enet0,Enet1) what I want as follows:
Make the two port's has same IP address
where, if the port Enet0 became down automaticly Enet1 become up :confused: .
Amen (4 Replies)
Ok, here i am in 2008 trying to figure out how to edit the port of Telnetd in sco openserver 4.2.
I googled my butt off and cant seem to find any info. Does anyone have some specific howto's or good documentation on this? (2 Replies)
Hello Guyz
These days Iam doing pretty good scripting work that is all because of you fellas.Thank you so much.
As it goes ,here comes my next problem.Iam trying to implement automatic port number incrementing.
For ex:
demo()
{
echo "Enter for default port:
read port
... (5 Replies)
Hello all,
I need assistance...
I need to open a port # 36677 and have it remain open even after a power cycle.
I thought all I needed to do was add it to /etc/services. That was not it...
Can someone please tell me how to do this.
Thank you. (6 Replies)
Dear members,
My release is open Solaris b103
1- How to know the opening port in my system
2- How to open a specific port like port number 53
3- How to closed the specific port like port number 53
Your feedback highly appreciated (10 Replies)
Hi All,
Can anyone let me know that how to open a specific port in Solaris 10. I just wanted to know if there are some certain commands to open a port (like ftp, telnet).
It would be also better if someone can tell me if there is another firewall service in Solaris 10 except ipfilter.
... (6 Replies)
Hey Guys,
I need a help,
After I upgraded my server to AIX 6.1.4 the port 80 is occupied by a Java process
bash-3.00# netstat -Aan | grep "*.80"
f1000700007d7bb0 tcp 0 0 *.80 *.* LISTEN
bash-3.00# rmsock f1000700007d7bb0 tcp
usage: rmsock Addr... (2 Replies)
I want to install something using port 9080 but the installer throws an error that port 9080 is in use.
The last time I had this error, I tried
# netstat -an|grep 9080
f1000e000019d3b0 tcp 0 0 *.9080 *.* LISTEN
Use this info, I found the process,... (3 Replies)
Hi all, is it possible to use a different port number for daytime service. By default the port number of daytime service is 13, so what if I want to get the time from a different port number e.g say 9000 (or any other port).
I guess this would remain the same on the server side !... (2 Replies)
Hi Guys,
Please could you tell me if it is possible to have a single rule/filter to allow a certain port range instead of a separate rule for each port?
I'm sure it must be possible but I am unable to find the syntax.
Thanks
Chris (4 Replies)