net/bnxt: add VNIC functions and structs
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 15 Jun 2016 21:23:06 +0000 (14:23 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 20 Jun 2016 15:21:51 +0000 (17:21 +0200)
commit9738793f28ec4e871bbce3344b1cdad8a9262a43
treec2f9630144dc71f21668631e4812ace91aa707fc
parent1d0704f4d79335f8a4fee8d69bdd3c291e25de91
net/bnxt: add VNIC functions and structs

Add functions to allocate, initialize, and free vnics.

A VNIC represents a virtual interface. It is a resource in the RX path
of the chip and is used to setup various target actions such as RSS,
MAC filtering etc. for the physical function in use.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Stephen Hurd <stephen.hurd@broadcom.com>
Reviewed-by: David Christensen <david.christensen@broadcom.com>
drivers/net/bnxt/Makefile
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_vnic.c [new file with mode: 0644]
drivers/net/bnxt/bnxt_vnic.h [new file with mode: 0644]
drivers/net/bnxt/hsi_struct_def_dpdk.h