#ifndef USB__GADGET__CONFIGFS__H #define USB__GADGET__CONFIGFS__H #include void unregister_gadget_item(struct config_item *item); int usb_os_desc_prepare_interf_dir(struct config_group *parent, int n_interf, struct usb_os_desc **desc, char **names, struct module *owner); static inline struct usb_os_desc *to_usb_os_desc(struct config_item *item) { return container_of(to_config_group(item), struct usb_os_desc, group); } #endif /* USB__GADGET__CONFIGFS__H */ i/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-02-06 16:55:42 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-07 13:31:00 -0500
commitc6d30e8391b85e00eb544e6cf047ee0160ee9938 (patch)
tree4204297fe6a0fe740463c0583682b3fe8f352241 /drivers
parentfa3e93e86cc3d1809fba67cb138883ed4bb74a5f (diff)
bnxt_en: Add basic XDP support.
Add basic ndo_xdp support to setup and query program, configure the NIC to run in rx page mode, and support XDP_PASS, XDP_DROP, XDP_ABORTED actions only. v3: Pass modified offset and length to stack for XDP_PASS. Remove Kconfig option. v2: Added trace_xdp_exception() Added dma_syncs. Added XDP headroom support. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Tested-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')