diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2016-12-19 11:28:46 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-10 14:05:11 -0500 |
commit | 69ae543969abeba48e04dd93277684c8c0895f3b (patch) | |
tree | a05b45335504b0799bb3473c579263cbbb5d005b /drivers/infiniband/hw/usnic/usnic_fwd.h | |
parent | fa83b7936e9799d9cd96a26fbcba22d2baa7ae11 (diff) | |
download | blackbird-op-linux-69ae543969abeba48e04dd93277684c8c0895f3b.tar.gz blackbird-op-linux-69ae543969abeba48e04dd93277684c8c0895f3b.zip |
RDMA: Adding ethertype ETH_P_IBOE
Update the if_ether.h with the ethertype for Infiniband over
Ethernet packets. Also, removing the occurances of 0x8915
from infiniband vendor drivers.
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/usnic/usnic_fwd.h')
-rw-r--r-- | drivers/infiniband/hw/usnic/usnic_fwd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_fwd.h b/drivers/infiniband/hw/usnic/usnic_fwd.h index 3a8add9ddf46..b2ac22be0731 100644 --- a/drivers/infiniband/hw/usnic/usnic_fwd.h +++ b/drivers/infiniband/hw/usnic/usnic_fwd.h @@ -36,6 +36,7 @@ #include <linux/if.h> #include <linux/netdevice.h> +#include <linux/if_ether.h> #include <linux/pci.h> #include <linux/in.h> @@ -97,7 +98,7 @@ static inline void usnic_fwd_init_usnic_filter(struct filter *filter, uint32_t usnic_id) { filter->type = FILTER_USNIC_ID; - filter->u.usnic.ethtype = USNIC_ROCE_ETHERTYPE; + filter->u.usnic.ethtype = ETH_P_IBOE; filter->u.usnic.flags = FILTER_FIELD_USNIC_ETHTYPE | FILTER_FIELD_USNIC_ID | FILTER_FIELD_USNIC_PROTO; |