RE: [PATCH 0/3] RDMA/core: iWARP Port Mapper Overview

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 9 Jun 2014, Steve Wise wrote:

> I don't see how the flow steering API does anything like the port mapping.

You can redirect flows with a particular port number. Thats the same as
port mappig right?

linux/include/rdma/ib_verbs.h:

struct ib_flow_spec_ipv4 {
        enum ib_flow_spec_type     type;
        u16                        size;
        struct ib_flow_ipv4_filter val;
        struct ib_flow_ipv4_filter mask;
};

struct ib_flow_tcp_udp_filter {
        __be16  dst_port;
        __be16  src_port;
};

struct ib_flow_spec_tcp_udp {
        enum ib_flow_spec_type        type;
        u16                           size;
        struct ib_flow_tcp_udp_filter val;
        struct ib_flow_tcp_udp_filter mask;
};

union ib_flow_spec {
        struct {
                enum ib_flow_spec_type  type;
                u16                     size;
        };
        struct ib_flow_spec_eth         eth;
        struct ib_flow_spec_ib          ib;
        struct ib_flow_spec_ipv4        ipv4;
        struct ib_flow_spec_tcp_udp     tcp_udp;
};

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux